xref: /openbmc/linux/arch/arm64/include/asm/bitops.h (revision e6486939)
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 
22 #include <asm-generic/bitops/sched.h>
23 #include <asm-generic/bitops/hweight.h>
24 
25 #include <asm-generic/bitops/atomic.h>
26 #include <asm-generic/bitops/lock.h>
27 #include <asm-generic/bitops/non-atomic.h>
28 #include <asm-generic/bitops/le.h>
29 #include <asm-generic/bitops/ext2-atomic-setbit.h>
30 
31 #endif /* __ASM_BITOPS_H */
32