Skip to contentSkip to conversation

x86_64 ia32 syscall32: references initdata during resume

PATCH In review Randy.Dunlap 2 participants 2 messages Oct 22, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86_64 ia32 syscall32: references initdata during resume

Signature · 2 lines
-- 
~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

diffstat:=

 arch/x86_64/ia32/syscall32.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
arch/x86_64/ia32/syscall32.c renamed from arch/x86_64/ia32/syscall32.c~x64_syscall32_init +1 -1
diff -Naurp ./arch/x86_64/ia32/syscall32.c~x64_syscall32_init ./arch/x86_64/ia32/syscall32.c
@@ -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.
#1 lore raw

On Fri, Oct 22, 2004 at 11:41:10AM -0700, Randy.Dunlap wrote:

I already fixed it in my tree, thanks.

-Andi