X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fx86_64%2Fia32%2Fsyscall32.c;h=f82aeae6f83192607713f312df24d97edeb153d7;hb=3ec04f3d2903fdf6d9849a8633af59b8628164a5;hp=b063a5599d3bdcb7aa4b6bebc96d613b438a7c84;hpb=8d40237c730b8be87c1b80a5d96b9c603fefa829;p=linux-2.6.git diff --git a/arch/x86_64/ia32/syscall32.c b/arch/x86_64/ia32/syscall32.c index b063a5599..f82aeae6f 100644 --- a/arch/x86_64/ia32/syscall32.c +++ b/arch/x86_64/ia32/syscall32.c @@ -28,7 +28,7 @@ extern unsigned char syscall32_sysenter[], syscall32_sysenter_end[]; extern int sysctl_vsyscall32; char *syscall32_page; -static int use_sysenter = -1; +static int use_sysenter __initdata = -1; /* * Map the 32bit vsyscall page on demand. @@ -50,7 +50,7 @@ int __map_syscall32(struct mm_struct *mm, unsigned long address) if (pte_none(*pte)) { set_pte(pte, mk_pte(virt_to_page(syscall32_page), - PAGE_KERNEL_VSYSCALL32)); + PAGE_KERNEL_VSYSCALL)); } /* Flush only the local CPU. Other CPUs taking a fault will just end up here again */