diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2019-05-06 13:07:26 -0700 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2019-05-06 17:48:54 -0700 |
commit | 8e65986dcae8c49501c1920064dc192e704248bb (patch) | |
tree | 188145ceb49a9025647a4a354d600c12a8f02a0c /arch/xtensa/include/asm/bitops.h | |
parent | fd58015ca9fed04fd52009e2dbcb7aef6940f734 (diff) | |
download | blackbird-op-linux-8e65986dcae8c49501c1920064dc192e704248bb.tar.gz blackbird-op-linux-8e65986dcae8c49501c1920064dc192e704248bb.zip |
xtensa: drop ifdef __KERNEL__ from kernel-only headers
These headers are not exported to userspace, so they're never used
without __KERNEL__ defined. Drop these ifdef statements.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/include/asm/bitops.h')
-rw-r--r-- | arch/xtensa/include/asm/bitops.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/xtensa/include/asm/bitops.h b/arch/xtensa/include/asm/bitops.h index d3490189792b..345d28aead65 100644 --- a/arch/xtensa/include/asm/bitops.h +++ b/arch/xtensa/include/asm/bitops.h @@ -13,8 +13,6 @@ #ifndef _XTENSA_BITOPS_H #define _XTENSA_BITOPS_H -#ifdef __KERNEL__ - #ifndef _LINUX_BITOPS_H #error only <linux/bitops.h> can be included directly #endif @@ -232,6 +230,4 @@ test_and_change_bit(unsigned int bit, volatile unsigned long *p) #include <asm-generic/bitops/lock.h> #include <asm-generic/bitops/sched.h> -#endif /* __KERNEL__ */ - #endif /* _XTENSA_BITOPS_H */ |