summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/unistd.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2009-12-03 08:38:13 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-12-03 08:38:13 +0100
commit467832032cc07626880363efa8625719c16c04eb (patch)
treeee9a62c04f0b3106e412bc1b2dd1cea5566d5ca7 /arch/arm/include/asm/unistd.h
parentInput: keyboard - fix lack of locking when traversing handler->h_list (diff)
parentLinux 2.6.32 (diff)
downloadlinux-467832032cc07626880363efa8625719c16c04eb.tar.xz
linux-467832032cc07626880363efa8625719c16c04eb.zip
Merge commit 'v2.6.32' into next
Diffstat (limited to 'arch/arm/include/asm/unistd.h')
-rw-r--r--arch/arm/include/asm/unistd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/include/asm/unistd.h b/arch/arm/include/asm/unistd.h
index 7020217fc49f..4e506d09e5f9 100644
--- a/arch/arm/include/asm/unistd.h
+++ b/arch/arm/include/asm/unistd.h
@@ -403,6 +403,15 @@
#define __ARM_NR_set_tls (__ARM_NR_BASE+5)
/*
+ * *NOTE*: This is a ghost syscall private to the kernel. Only the
+ * __kuser_cmpxchg code in entry-armv.S should be aware of its
+ * existence. Don't ever use this from user code.
+ */
+#ifdef __KERNEL__
+#define __ARM_NR_cmpxchg (__ARM_NR_BASE+0x00fff0)
+#endif
+
+/*
* The following syscalls are obsolete and no longer available for EABI.
*/
#if defined(__ARM_EABI__) && !defined(__KERNEL__)