summaryrefslogtreecommitdiff
path: root/include/asm-generic/futex.h
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2008-04-30 00:55:13 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-30 08:29:54 -0700
commitae50884f66fc93aa713feade8f87c03471241275 (patch)
treeea58f6ad5f8490b745239cf06c002466c96394de /include/asm-generic/futex.h
parent735643ee6cc5249bfac07fcad0946a5e7aff4423 (diff)
downloadlwn-ae50884f66fc93aa713feade8f87c03471241275.tar.gz
lwn-ae50884f66fc93aa713feade8f87c03471241275.zip
remove __KERNEL__ tests of unexported headers under asm-generic/
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-generic/futex.h')
-rw-r--r--include/asm-generic/futex.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-generic/futex.h b/include/asm-generic/futex.h
index 67b60b917d88..3c2344f48136 100644
--- a/include/asm-generic/futex.h
+++ b/include/asm-generic/futex.h
@@ -1,8 +1,6 @@
#ifndef _ASM_GENERIC_FUTEX_H
#define _ASM_GENERIC_FUTEX_H
-#ifdef __KERNEL__
-
#include <linux/futex.h>
#include <linux/uaccess.h>
#include <asm/errno.h>
@@ -56,4 +54,3 @@ futex_atomic_cmpxchg_inatomic(int __user *uaddr, int oldval, int newval)
}
#endif
-#endif