Subject: Re: linux-next: build warning after merge of the tip tree

From: Ingo Molnar <[email-masked]>
Date: Mon, 19 Aug 2013 08:58:17 +0200

* Stephen Rothwell <[email-masked]> wrote:

> Hi all,
> 
> After merging the tip tree, today's linux-next build (x86_64 allmodconfig)
> produced this 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 arch/x86/include/asm/ptrace.h:65:0,
>                  from arch/x86/include/asm/alternative.h:8,
>                  from 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:
> arch/x86/include/asm/paravirt_types.h:391:0: note: this is the location of the previous definition
>  #define DEF_NATIVE(ops, name, code)      \
>  ^
> 
> Introduced by commit 9a55fdbe941e ("x86, asmlinkage, paravirt: Add
> __visible/asmlinkage to xen paravirt ops").  The 2 definitions used to be
> identical ... maybe there should be only one.

Andi, please send a fix for this build warning, against 
tip:x86/asmlinkage.

Thanks,

	Ingo