]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] i386: VDSO_PRELINK warning fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 2 May 2007 17:27:09 +0000 (19:27 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 2 May 2007 17:27:09 +0000 (19:27 +0200)
commit1b523fb54977c9bb81b16c4badce581a2b455994
tree7d469a02e108ccf40bbb8e2a1c354556c7d8ba42
parent20280195f2a3d80c42a190959ca22108c93cd7e0
[PATCH] i386: VDSO_PRELINK warning fix

The lguest patches somehow managed to trigger this:

In file included from arch/i386/lguest/lguest.c:38:
include/asm/asm-offsets.h:67:1: warning: "VDSO_PRELINK" redefined
In file included from include/linux/elf.h:7,
                 from include/linux/module.h:15,
                 from include/linux/device.h:21,
                 from include/linux/interrupt.h:15,
                 from arch/i386/lguest/lguest.c:27:
include/asm/elf.h:140:1: warning: this is the location of the previous definition

I assume that using the same identifier twice was a bad idea..

Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/asm-offsets.c
arch/i386/kernel/vsyscall.lds.S