X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Fx86%2Fxen%2Fsetup.c;h=fd91568090f4fb5d1e9e0d9d3b2900efee5ae9e8;hb=6c3652efcafa6a6d795093362cb4290c84994b5c;hp=f84e772266461aec8a76b4feeb2ba318e21e0547;hpb=408af0dab78ef4145203b849d6bfd3195f6e3ec9;p=linux-2.6 diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c index f84e772266..fd91568090 100644 --- a/arch/x86/xen/setup.c +++ b/arch/x86/xen/setup.c @@ -10,6 +10,7 @@ #include #include +#include #include #include #include @@ -61,10 +62,8 @@ static void xen_idle(void) */ static void fiddle_vdso(void) { - extern u32 VDSO_NOTE_MASK; /* See ../kernel/vsyscall-note.S. */ extern char vsyscall_int80_start; - u32 *mask = (u32 *) ((unsigned long) &VDSO_NOTE_MASK - VDSO_PRELINK + - &vsyscall_int80_start); + u32 *mask = VDSO32_SYMBOL(&vsyscall_int80_start, NOTE_MASK); *mask |= 1 << VDSO_NOTE_NONEGSEG_BIT; }