blob: 9b3c787132d220e08733308503a33aa6d00be2de [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>
Marc Zyngierf27bb132012-03-05 11:49:33 +000021
22#include <asm-generic/bitops/sched.h>
23#include <asm-generic/bitops/hweight.h>
Marc Zyngierf27bb132012-03-05 11:49:33 +000024
Will Deacon7c8fc352018-06-19 13:53:13 +010025#include <asm-generic/bitops/atomic.h>
26#include <asm-generic/bitops/lock.h>
Marc Zyngierf27bb132012-03-05 11:49:33 +000027#include <asm-generic/bitops/non-atomic.h>
28#include <asm-generic/bitops/le.h>
Will Deacon356c6fe2018-06-19 13:53:14 +010029#include <asm-generic/bitops/ext2-atomic-setbit.h>
Marc Zyngierf27bb132012-03-05 11:49:33 +000030
31#endif /* __ASM_BITOPS_H */