[PATCH] x86_64 ia32 syscall32: references initdata during resume

From: Randy.Dunlap
Date: Fri Oct 22 2004 - 14:07:43 EST



--
~Randy

Fix __initdata references in syscall32_cpu_init:
Error: ./arch/x86_64/ia32/syscall32.o .text refers to 0000000000000002 R_X86_64_PC32 .init.data+0x000000000000152b
Error: ./arch/x86_64/ia32/syscall32.o .text refers to 0000000000000017 R_X86_64_PC32 .init.data+0x000000000000152c

Signed-off-by: Randy Dunlap <rddunlap@xxxxxxxx>

diffstat:=
arch/x86_64/ia32/syscall32.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -Naurp ./arch/x86_64/ia32/syscall32.c~x64_syscall32_init ./arch/x86_64/ia32/syscall32.c
--- ./arch/x86_64/ia32/syscall32.c~x64_syscall32_init 2004-10-18 14:54:37.000000000 -0700
+++ ./arch/x86_64/ia32/syscall32.c 2004-10-22 09:17:40.045615536 -0700
@@ -28,7 +28,7 @@ extern unsigned char syscall32_sysenter[
extern int sysctl_vsyscall32;

char *syscall32_page;
-static int use_sysenter __initdata = -1;
+static int use_sysenter = -1;

/*
* Map the 32bit vsyscall page on demand.