aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2011-12-09 11:13:59 -0800
committerH. Peter Anvin <hpa@zytor.com>2011-12-09 11:13:59 -0800
commit47db9e7c808a45b1f86971f25eca5e38fa95ab86 (patch)
treeefb3b0c96c3cd6a0f4f01251e56b69e3fddfeeb7 /arch/x86
parentum: Use $(srctree) not $(KBUILD_SRC) (diff)
downloadlinux-dev-47db9e7c808a45b1f86971f25eca5e38fa95ab86.tar.xz
linux-dev-47db9e7c808a45b1f86971f25eca5e38fa95ab86.zip
x86, um: Fix typo in 32-bit system call modifications
We override sys_iopl(), not stub_iopl(); the latter is a 64-bitism that doesn't apply to i386 in the first place. Reported-by: Richard Weinberger <richard@nod.at> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/um/sys_call_table_32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/um/sys_call_table_32.c b/arch/x86/um/sys_call_table_32.c
index 0606aa3e92ae..416bd40c0eba 100644
--- a/arch/x86/um/sys_call_table_32.c
+++ b/arch/x86/um/sys_call_table_32.c
@@ -16,7 +16,7 @@
*/
/* Not going to be implemented by UML, since we have no hardware. */
-#define stub_iopl sys_ni_syscall
+#define sys_iopl sys_ni_syscall
#define sys_ioperm sys_ni_syscall
#define sys_vm86old sys_ni_syscall