• Andrew Morton's avatar
    [PATCH] i386: VDSO_PRELINK warning fix · 1b523fb5
    Andrew Morton authored
    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: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarAndi Kleen <ak@suse.de>
    1b523fb5
vsyscall.lds.S 1.89 KB