Re: [GIT PULL] x86/asmlinkage changes for v3.12

From: Linus Torvalds
Date: Wed Sep 04 2013 - 11:58:31 EST


On Tue, Sep 3, 2013 at 7:39 AM, Ingo Molnar <mingo@xxxxxxxxxx> wrote:
>
> Please pull the latest x86-asmlinkage-for-linus git tree from:

Grr. This one seems to introduce this annoying warning:

arch/x86/kernel/paravirt.c:66:0: warning: "DEF_NATIVE" redefined
[enabled by default]
#define DEF_NATIVE(ops, name, code) \
^
In file included from
/home/torvalds/v2.6/linux/arch/x86/include/asm/ptrace.h:65:0,
from
/home/torvalds/v2.6/linux/arch/x86/include/asm/alternative.h:8,
from
/home/torvalds/v2.6/linux/arch/x86/include/asm/bitops.h:16,
from include/linux/bitops.h:22,
from include/linux/kernel.h:10,
from include/linux/cache.h:4,
from include/linux/time.h:4,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from arch/x86/kernel/paravirt.c:22:
/home/torvalds/v2.6/linux/arch/x86/include/asm/paravirt_types.h:389:0:
note: this is the location of the previous definition
#define DEF_NATIVE(ops, name, code) \
^

when doing an allmodconfig.

Maybe it gets fixed later in the series (I am about a third through
your pull requests), but it's clearly bogus.

What the heck is wrong with that macro anyway? It is used in one
single file, and it is _defined_ twice - in two other files. Somebody
was very very confused when they wrote that code.

I'm going to let the pull stand, since it doesn't seem to actually
break anything, but this needs to be fixed.

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/