diff options
Diffstat (limited to 'arch/tile/include')
| -rw-r--r-- | arch/tile/include/asm/syscall.h | 6 | ||||
| -rw-r--r-- | arch/tile/include/asm/syscalls.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/arch/tile/include/asm/syscall.h b/arch/tile/include/asm/syscall.h index d35e0dcb67b1..9644b88f133d 100644 --- a/arch/tile/include/asm/syscall.h +++ b/arch/tile/include/asm/syscall.h | |||
| @@ -22,6 +22,12 @@ | |||
| 22 | #include <linux/err.h> | 22 | #include <linux/err.h> |
| 23 | #include <arch/abi.h> | 23 | #include <arch/abi.h> |
| 24 | 24 | ||
| 25 | /* The array of function pointers for syscalls. */ | ||
| 26 | extern void *sys_call_table[]; | ||
| 27 | #ifdef CONFIG_COMPAT | ||
| 28 | extern void *compat_sys_call_table[]; | ||
| 29 | #endif | ||
| 30 | |||
| 25 | /* | 31 | /* |
| 26 | * Only the low 32 bits of orig_r0 are meaningful, so we return int. | 32 | * Only the low 32 bits of orig_r0 are meaningful, so we return int. |
| 27 | * This importantly ignores the high bits on 64-bit, so comparisons | 33 | * This importantly ignores the high bits on 64-bit, so comparisons |
diff --git a/arch/tile/include/asm/syscalls.h b/arch/tile/include/asm/syscalls.h index 78886e2417a6..07b298450ef2 100644 --- a/arch/tile/include/asm/syscalls.h +++ b/arch/tile/include/asm/syscalls.h | |||
| @@ -24,12 +24,6 @@ | |||
| 24 | #include <linux/types.h> | 24 | #include <linux/types.h> |
| 25 | #include <linux/compat.h> | 25 | #include <linux/compat.h> |
| 26 | 26 | ||
| 27 | /* The array of function pointers for syscalls. */ | ||
| 28 | extern void *sys_call_table[]; | ||
| 29 | #ifdef CONFIG_COMPAT | ||
| 30 | extern void *compat_sys_call_table[]; | ||
| 31 | #endif | ||
| 32 | |||
| 33 | /* | 27 | /* |
| 34 | * Note that by convention, any syscall which requires the current | 28 | * Note that by convention, any syscall which requires the current |
| 35 | * register set takes an additional "struct pt_regs *" pointer; a | 29 | * register set takes an additional "struct pt_regs *" pointer; a |
