summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/syscall_64.c
diff options
context:
space:
mode:
authorAndi Kleen2013-08-06 00:02:44 +0200
committerH. Peter Anvin2013-08-06 23:20:18 +0200
commite0e745e45d3d3c22f60dc9b2c17bcfc0d9f2bc82 (patch)
tree2a547c8bba100a6e8de6f74ea73595ceb9842391 /arch/x86/kernel/syscall_64.c
parentx86, asmlinkage: Make several variables used from assembler/linker script vis... (diff)
downloadkernel-qcow2-linux-e0e745e45d3d3c22f60dc9b2c17bcfc0d9f2bc82.tar.gz
kernel-qcow2-linux-e0e745e45d3d3c22f60dc9b2c17bcfc0d9f2bc82.tar.xz
kernel-qcow2-linux-e0e745e45d3d3c22f60dc9b2c17bcfc0d9f2bc82.zip
x86, asmlinkage: Make syscall tables visible
They are referenced from entry*.S. Signed-off-by: Andi Kleen <ak@linux.intel.com> Link: http://lkml.kernel.org/r/1375740170-7446-11-git-send-email-andi@firstfloor.org Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/kernel/syscall_64.c')
-rw-r--r--arch/x86/kernel/syscall_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/syscall_64.c b/arch/x86/kernel/syscall_64.c
index ec008f5943ac..4ac730b37f0b 100644
--- a/arch/x86/kernel/syscall_64.c
+++ b/arch/x86/kernel/syscall_64.c
@@ -22,7 +22,7 @@
extern void sys_ni_syscall(void);
-const sys_call_ptr_t sys_call_table[__NR_syscall_max+1] = {
+asmlinkage const sys_call_ptr_t sys_call_table[__NR_syscall_max+1] = {
/*
* Smells like a compiler bug -- it doesn't work
* when the & below is removed.