aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-parisc/bitops.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-parisc/bitops.h')
-rw-r--r--include/asm-parisc/bitops.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-parisc/bitops.h b/include/asm-parisc/bitops.h
index 015cb0d379bd..f8eebcbad01f 100644
--- a/include/asm-parisc/bitops.h
+++ b/include/asm-parisc/bitops.h
@@ -1,6 +1,10 @@
1#ifndef _PARISC_BITOPS_H 1#ifndef _PARISC_BITOPS_H
2#define _PARISC_BITOPS_H 2#define _PARISC_BITOPS_H
3 3
4#ifndef _LINUX_BITOPS_H
5#error only <linux/bitops.h> can be included directly
6#endif
7
4#include <linux/compiler.h> 8#include <linux/compiler.h>
5#include <asm/types.h> /* for BITS_PER_LONG/SHIFT_PER_LONG */ 9#include <asm/types.h> /* for BITS_PER_LONG/SHIFT_PER_LONG */
6#include <asm/byteorder.h> 10#include <asm/byteorder.h>
@@ -208,6 +212,7 @@ static __inline__ int fls(int x)
208 212
209#include <asm-generic/bitops/fls64.h> 213#include <asm-generic/bitops/fls64.h>
210#include <asm-generic/bitops/hweight.h> 214#include <asm-generic/bitops/hweight.h>
215#include <asm-generic/bitops/lock.h>
211#include <asm-generic/bitops/sched.h> 216#include <asm-generic/bitops/sched.h>
212 217
213#endif /* __KERNEL__ */ 218#endif /* __KERNEL__ */