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