[PATCH] i386: Change sysenter_setup to __cpuinit & improve __INIT, __INITDATA
[platform/adaptation/renesas_rcar/renesas_kernel.git] / arch / i386 / kernel / sysenter.c
index 13ca54a..168f814 100644 (file)
@@ -72,7 +72,7 @@ extern const char vsyscall_int80_start, vsyscall_int80_end;
 extern const char vsyscall_sysenter_start, vsyscall_sysenter_end;
 static struct page *syscall_pages[1];
 
-int __init sysenter_setup(void)
+int __cpuinit sysenter_setup(void)
 {
        void *syscall_page = (void *)get_zeroed_page(GFP_ATOMIC);
        syscall_pages[0] = virt_to_page(syscall_page);