Thomas Gleixner | caab277 | 2019-06-03 07:44:50 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Marc Zyngier | f27bb13 | 2012-03-05 11:49:33 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2012 ARM Ltd. |
Marc Zyngier | f27bb13 | 2012-03-05 11:49:33 +0000 | [diff] [blame] | 4 | */ |
| 5 | #ifndef __ASM_BITOPS_H |
| 6 | #define __ASM_BITOPS_H |
| 7 | |
| 8 | #include <linux/compiler.h> |
Marc Zyngier | f27bb13 | 2012-03-05 11:49:33 +0000 | [diff] [blame] | 9 | |
Marc Zyngier | f27bb13 | 2012-03-05 11:49:33 +0000 | [diff] [blame] | 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> |
Marc Zyngier | f27bb13 | 2012-03-05 11:49:33 +0000 | [diff] [blame] | 25 | |
Will Deacon | 7c8fc35 | 2018-06-19 13:53:13 +0100 | [diff] [blame] | 26 | #include <asm-generic/bitops/atomic.h> |
| 27 | #include <asm-generic/bitops/lock.h> |
Marc Zyngier | f27bb13 | 2012-03-05 11:49:33 +0000 | [diff] [blame] | 28 | #include <asm-generic/bitops/non-atomic.h> |
| 29 | #include <asm-generic/bitops/le.h> |
Will Deacon | 356c6fe | 2018-06-19 13:53:14 +0100 | [diff] [blame] | 30 | #include <asm-generic/bitops/ext2-atomic-setbit.h> |
Marc Zyngier | f27bb13 | 2012-03-05 11:49:33 +0000 | [diff] [blame] | 31 | |
| 32 | #endif /* __ASM_BITOPS_H */ |