summaryrefslogtreecommitdiff
path: root/arch/x86/um/sys_call_table_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/um/sys_call_table_64.c')
-rw-r--r--arch/x86/um/sys_call_table_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/um/sys_call_table_64.c b/arch/x86/um/sys_call_table_64.c
index 797a639bcca5..fe626c3ba01b 100644
--- a/arch/x86/um/sys_call_table_64.c
+++ b/arch/x86/um/sys_call_table_64.c
@@ -45,7 +45,7 @@ typedef void (*sys_call_ptr_t)(void);
extern void sys_ni_syscall(void);
-sys_call_ptr_t sys_call_table[] __cacheline_aligned = {
+const sys_call_ptr_t sys_call_table[] __cacheline_aligned = {
/*
* Smells like a compiler bug -- it doesn't work
* when the & below is removed.