summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/proto.h
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@amacapital.net>2014-05-05 12:19:33 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2014-05-05 13:18:47 -0700
commitcfda7bb9ecbf9d96264bb5bade33a842966d1062 (patch)
tree847dca2ec3bfccc701a9e9dd4cb74a48c9afc3b6 /arch/x86/include/asm/proto.h
parent3d7ee969bffcc984c8aeaffc6ac6816fd929ace1 (diff)
downloadlinux-0-day-cfda7bb9ecbf9d96264bb5bade33a842966d1062.tar.gz
linux-0-day-cfda7bb9ecbf9d96264bb5bade33a842966d1062.tar.xz
x86, vdso: Move syscall and sysenter setup into kernel/cpu/common.c
This code is used during CPU setup, and it isn't strictly speaking related to the 32-bit vdso. It's easier to understand how this works when the code is closer to its callers. This also lets syscall32_cpu_init be static, which might save some trivial amount of kernel text. Signed-off-by: Andy Lutomirski <luto@amacapital.net> Link: http://lkml.kernel.org/r/4e466987204e232d7b55a53ff6b9739f12237461.1399317206.git.luto@amacapital.net Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/include/asm/proto.h')
-rw-r--r--arch/x86/include/asm/proto.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/proto.h b/arch/x86/include/asm/proto.h
index 6fd3fd7697968..a90f8972dad50 100644
--- a/arch/x86/include/asm/proto.h
+++ b/arch/x86/include/asm/proto.h
@@ -12,8 +12,6 @@ void ia32_syscall(void);
void ia32_cstar_target(void);
void ia32_sysenter_target(void);
-void syscall32_cpu_init(void);
-
void x86_configure_nx(void);
void x86_report_nx(void);