blob: 81a3e519b07db7cca88107379f83790290884f29 [file] [log] [blame]
Thomas Gleixnercaab2772019-06-03 07:44:50 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Marc Zyngierf27bb132012-03-05 11:49:33 +00002/*
3 * Copyright (C) 2012 ARM Ltd.
Marc Zyngierf27bb132012-03-05 11:49:33 +00004 */
5#ifndef __ASM_BITOPS_H
6#define __ASM_BITOPS_H
7
8#include <linux/compiler.h>
Marc Zyngierf27bb132012-03-05 11:49:33 +00009
Marc Zyngierf27bb132012-03-05 11:49:33 +000010#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 Zyngierf27bb132012-03-05 11:49:33 +000025
Will Deacon7c8fc352018-06-19 13:53:13 +010026#include <asm-generic/bitops/atomic.h>
27#include <asm-generic/bitops/lock.h>
Marc Zyngierf27bb132012-03-05 11:49:33 +000028#include <asm-generic/bitops/non-atomic.h>
29#include <asm-generic/bitops/le.h>
Will Deacon356c6fe2018-06-19 13:53:14 +010030#include <asm-generic/bitops/ext2-atomic-setbit.h>
Marc Zyngierf27bb132012-03-05 11:49:33 +000031
32#endif /* __ASM_BITOPS_H */