From 694b1a26899090d205f756feab9755834606c3d3 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Mon, 5 Dec 2011 22:48:49 -0800 Subject: [PATCH] --- yaml --- r: 285919 b: refs/heads/master c: a074335a370eca6d72f2ec890e4ae22923a2aea4 h: refs/heads/master i: 285917: a7c38f8d3de87eb018b806c5cb357f2c451b5689 285915: 0751233a16ac04fef2780882a7581bdcb217b9c4 285911: 333daf38b4f25a7de112c84559100fb684bb1dcd 285903: 507403224e61d4f22f116da78a9e39dc8896f0e0 285887: 37133bb0aebcf1d843e0d1f6a371d6811f5a0be2 v: v3 --- [refs] | 2 +- trunk/arch/x86/um/sys_call_table_32.c | 2 +- trunk/arch/x86/um/sys_call_table_64.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 01c33eb9734d..d1bf25bcb221 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 45db1c6176c8171d9ae6fa6d82e07d115a5950ca +refs/heads/master: a074335a370eca6d72f2ec890e4ae22923a2aea4 diff --git a/trunk/arch/x86/um/sys_call_table_32.c b/trunk/arch/x86/um/sys_call_table_32.c index b897fcae6205..0606aa3e92ae 100644 --- a/trunk/arch/x86/um/sys_call_table_32.c +++ b/trunk/arch/x86/um/sys_call_table_32.c @@ -43,7 +43,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. diff --git a/trunk/arch/x86/um/sys_call_table_64.c b/trunk/arch/x86/um/sys_call_table_64.c index 797a639bcca5..fe626c3ba01b 100644 --- a/trunk/arch/x86/um/sys_call_table_64.c +++ b/trunk/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.