Commit d3ad6fb9 authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

[PATCH] x86_64: Remove bogus __initdata in wakeup path

Found by Randy Dunlap

Don't mark use_sysenter __initdata, it is used on suspend
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 3d2dc1cb
...@@ -28,7 +28,7 @@ extern unsigned char syscall32_sysenter[], syscall32_sysenter_end[]; ...@@ -28,7 +28,7 @@ extern unsigned char syscall32_sysenter[], syscall32_sysenter_end[];
extern int sysctl_vsyscall32; extern int sysctl_vsyscall32;
char *syscall32_page; char *syscall32_page;
static int use_sysenter __initdata = -1; static int use_sysenter = -1;
/* /*
* Map the 32bit vsyscall page on demand. * Map the 32bit vsyscall page on demand.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment