You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
H. Peter Anvin
parent
277d5b40b7
commit
e0e745e45d
@@ -15,7 +15,7 @@ typedef asmlinkage void (*sys_call_ptr_t)(void);
|
|||||||
|
|
||||||
extern asmlinkage void sys_ni_syscall(void);
|
extern asmlinkage void sys_ni_syscall(void);
|
||||||
|
|
||||||
const sys_call_ptr_t sys_call_table[__NR_syscall_max+1] = {
|
__visible const sys_call_ptr_t sys_call_table[__NR_syscall_max+1] = {
|
||||||
/*
|
/*
|
||||||
* Smells like a compiler bug -- it doesn't work
|
* Smells like a compiler bug -- it doesn't work
|
||||||
* when the & below is removed.
|
* when the & below is removed.
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
extern void sys_ni_syscall(void);
|
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
|
* Smells like a compiler bug -- it doesn't work
|
||||||
* when the & below is removed.
|
* when the & below is removed.
|
||||||
|
|||||||
Reference in New Issue
Block a user