]> git.baikalelectronics.ru Git - kernel.git/commit
x86, um: Mark system call tables readonly
authorH. Peter Anvin <hpa@zytor.com>
Tue, 6 Dec 2011 06:48:49 +0000 (22:48 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 6 Dec 2011 06:56:38 +0000 (22:56 -0800)
commit0dbeadf4af2bbc0d0c10fe32175350f61cef9b46
tree8ef61af965df0b69010aa7b936a65d7d42d45a90
parentdfaa6513d48298cc5a51d98978f2efea938e7b50
x86, um: Mark system call tables readonly

Mark the system call tables readonly, as they already are on native,
and the 32-bit UM version was in the previous assembly version.  The
32-bit version lost it due to copy and paste from the 64-bit version,
which was missing the const.

Cc: Jeff Dike <jdike@addtoit.com>
Cc: Richard Weinberger <richard@nod.at>
Link: http://lkml.kernel.org/r/tip-dfaa6513d48298cc5a51d98978f2efea938e7b50@git.kernel.org
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/um/sys_call_table_32.c
arch/x86/um/sys_call_table_64.c