/* SPDX-License-Identifier: GPL-2.0-or-later */1/*2* OpenRISC Linux3*4* Linux architectural port borrowing liberally from similar works of5* others. All original copyrights apply as per the original source6* declaration.7*8* OpenRISC implementation:9* Copyright (C) 2003 Matjaz Breskvar <[email protected]>10* Copyright (C) 2010-2011 Jonas Bonn <[email protected]>11* et al.12*/1314#ifndef __ASM_OPENRISC_BITOPS_H15#define __ASM_OPENRISC_BITOPS_H1617/*18* Where we haven't written assembly versions yet, we fall back to the19* generic implementations. Otherwise, we pull in our (hopefully)20* optimized versions.21*/2223#include <linux/irqflags.h>24#include <linux/compiler.h>25#include <asm/barrier.h>2627#include <asm/bitops/__ffs.h>28#include <asm-generic/bitops/ffz.h>29#include <asm/bitops/fls.h>30#include <asm/bitops/__fls.h>31#include <asm-generic/bitops/fls64.h>3233#ifndef _LINUX_BITOPS_H34#error only <linux/bitops.h> can be included directly35#endif3637#include <asm-generic/bitops/sched.h>38#include <asm/bitops/ffs.h>39#include <asm-generic/bitops/hweight.h>40#include <asm-generic/bitops/lock.h>4142#include <asm/bitops/atomic.h>43#include <asm-generic/bitops/non-atomic.h>44#include <asm-generic/bitops/le.h>45#include <asm-generic/bitops/ext2-atomic.h>4647#endif /* __ASM_GENERIC_BITOPS_H */484950