Skip to contentSkip to conversation

blackfin: Use kbuild.h instead of defining macros in asm-macros.c

PATCH Mike Frysinger 6 participants 8 messages Apr 14, 2008 – Apr 16, 2008 5 messages not in the archive Memory management

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw

Re: [patch 17/19] Use kbuild.h instead of defining macros in asm-offsets.c

Quoted 2 lines · Christoph Lameter

s390 has a strange marker in DEFINE. Undefine the DEFINE from kbuild.h and define it the way s390 wants it to preserve things as they were.

That is a leftover from the very first version of the asm-offsets code. All the DEFINEs in arch/s390/kernel/asm-offsets.c have an empty third argument, we never needed it.

Quoted 2 lines

May be good if the arch maintainer could go over this and check if this workaround is really necessary.

No, the workaround can go. We can use the default macro if the DEFINE lines get adapted: "s/,);/\);/"

Signature · 11 lines
blue skies,
  Martin.

"Reality continues to ruin my life." - Calvin.


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

A message that is not in the archive (sent off-list or not yet received): [email protected]

Acked-by
#8 lore raw

Re: [patch 02/19] x86: Use kbuild.h

Quoted 5 lines · Ingo Molnar
Quoted 1 line · Christoph Lameter

Drop the macro definitions in asm-offsets_*.c and use kbuild.h

thanks Christoph, applied.

the dependency i missed was the existence of include/linux/kbuild.h ;-) Anyway:

Ingo

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#9 lore raw

Re: [patch 02/19] x86: Use kbuild.h

Quoted 5 lines · Ingo Molnar
Quoted 2 lines · Ingo Molnar

* Christoph Lameter <[email protected]> wrote:

Quoted 8 lines
Quoted 3 lines
Quoted 1 line

Drop the macro definitions in asm-offsets_*.c and use kbuild.h

thanks Christoph, applied.

the dependency i missed was the existence of include/linux/kbuild.h ;-) Anyway:

Yes sorry this is dependent on other patches merged by Andrew. This is the classic case of arch changes that depend on core changes.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

maintainer
#10 lore raw

Re: [patch 02/19] x86: Use kbuild.h

Quoted 11 lines · On Wed, 16 Apr 2008 10:44:55 -0700 (PDT) Christoph Lameter <[email protected]>…
Quoted 9 lines · Ingo Molnar
Quoted 5 lines · Ingo Molnar
Quoted 1 line · Christoph Lameter

Drop the macro definitions in asm-offsets_*.c and use kbuild.h

thanks Christoph, applied.

Quoted 7 lines
Quoted 4 lines

the dependency i missed was the existence of include/linux/kbuild.h ;-) Anyway:

Yes sorry this is dependent on other patches merged by Andrew. This is the classic case of arch changes that depend on core changes.

Yeah, I tricked a few people that way yesterday ;)

For this series I cc'ed 30-odd people on the core patch (add-kbuildh-that-contains-common-definitions-for-kbuild-users.patch) and then cc'ed them individually on the dependent patch (eg, sparc-use-kbuildh-instead-of-defining-macros-in-asm-offsetsc.patch). So hopefully it was somewhat obvious what was going on.

In the case of *-use-get-put_unaligned_-helpers.patch it was more obscure because the core patch (kernel-add-common-infrastructure-for-unaligned-access.patch) came in a lot earlier so nobody got to see it. That tricked 'em.

Perhaps I should put "depends on -mm's kernel-add-common-infrastructure-for-unaligned-access.patch" in the changelog. Problem is that I'd never remember to take that out before sending the patch onwards.

I guess I could add "this depends on a patch which is only in -mm" into that email somehow.

hm. Oh well, it doesn't happen very often.

Related:

I'm now sitting on things like:

kernel-add-common-infrastructure-for-unaligned-access.patch
...
input-use-get_unaligned_-helpers.patch

Strictly and formally, the merge process for these is

a) I send kernel-add-common-infrastructure-for-unaligned-access.patch to Linus.

b) He merges it

c) I send input-use-get_unaligned_-helpers.patch to Dmitry

d) He merges it

e) He sends input-use-get_unaligned_-helpers.patch to Linus

f) Linus merges it.

This is a lot of fuss and there's a non-zero chance that we'll miss the merge window. So I like people to send along acked-by's for this sort of thing so I can scoot them along to Linus straight away.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#11 lore raw

Re: [patch 11/19] frv: Use kbuild.h instead of defining macros in asm-offsets.c

In reply to a message not in the archive

arch/frv/kernel/asm-offsets.c:10:26: error: linux/kbuild.h: No such file or directory

Is this something that's queued in the -mm tree?

David

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#12 lore raw

Re: [patch 11/19] frv: Use kbuild.h instead of defining macros in asm-offsets.c

Quoted 3 lines · David Howells

arch/frv/kernel/asm-offsets.c:10:26: error: linux/kbuild.h: No such file or directory

Is this something that's queued in the -mm tree?

It hopefully will be queued soon.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>