xref: /openbmc/linux/arch/arm64/include/asm/bitops.h (revision b4e18b29)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (C) 2012 ARM Ltd.
4  */
5 #ifndef __ASM_BITOPS_H
6 #define __ASM_BITOPS_H
7 
8 #include <linux/compiler.h>
9 
10 #ifndef _LINUX_BITOPS_H
11 #error only <linux/bitops.h> can be included directly
12 #endif
13 
14 #include <asm-generic/bitops/builtin-__ffs.h>
15 #include <asm-generic/bitops/builtin-ffs.h>
16 #include <asm-generic/bitops/builtin-__fls.h>
17 #include <asm-generic/bitops/builtin-fls.h>
18 
19 #include <asm-generic/bitops/ffz.h>
20 #include <asm-generic/bitops/fls64.h>
21 #include <asm-generic/bitops/find.h>
22 
23 #include <asm-generic/bitops/sched.h>
24 #include <asm-generic/bitops/hweight.h>
25 
26 #include <asm-generic/bitops/atomic.h>
27 #include <asm-generic/bitops/lock.h>
28 #include <asm-generic/bitops/non-atomic.h>
29 #include <asm-generic/bitops/le.h>
30 #include <asm-generic/bitops/ext2-atomic-setbit.h>
31 
32 #endif /* __ASM_BITOPS_H */
33