summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/unistd.h
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2006-05-05 22:35:05 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-05-05 22:35:05 +0100
commit568cb09b9d889b6f2852ede19772b8e9eed36c1e (patch)
tree7ae4d5289c9f20ae323291fe3a5337cc1c3096f7 /include/asm-arm/unistd.h
parent99532559dc7a8e686b2cef14c780a7ad5dbd4a31 (diff)
downloadop-kernel-dev-568cb09b9d889b6f2852ede19772b8e9eed36c1e.zip
op-kernel-dev-568cb09b9d889b6f2852ede19772b8e9eed36c1e.tar.gz
[ARM] 3495/1: EABI: undefine removed syscalls, but...
Patch from Nicolas Pitre ... but only for user space. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/unistd.h')
-rw-r--r--include/asm-arm/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/unistd.h b/include/asm-arm/unistd.h
index 26f2f48..cbf39a5 100644
--- a/include/asm-arm/unistd.h
+++ b/include/asm-arm/unistd.h
@@ -363,7 +363,7 @@
/*
* The following syscalls are obsolete and no longer available for EABI.
*/
-#if defined(__ARM_EABI__)
+#if defined(__ARM_EABI__) && !defined(__KERNEL__)
#undef __NR_time
#undef __NR_umount
#undef __NR_stime
OpenPOWER on IntegriCloud