xref: /OK3568_Linux_fs/u-boot/arch/nios2/include/asm/bitops.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
3*4882a593Smuzhiyun  * Scott McNutt <smcnutt@psyent.com>
4*4882a593Smuzhiyun  *
5*4882a593Smuzhiyun  * SPDX-License-Identifier:	GPL-2.0+
6*4882a593Smuzhiyun  */
7*4882a593Smuzhiyun 
8*4882a593Smuzhiyun #ifndef __ASM_NIOS2_BITOPS_H_
9*4882a593Smuzhiyun #define __ASM_NIOS2_BITOPS_H_
10*4882a593Smuzhiyun 
11*4882a593Smuzhiyun /* copied from linux-2.6/include/asm-generic/bitops */
12*4882a593Smuzhiyun #include <asm/bitops/atomic.h>
13*4882a593Smuzhiyun #include <asm/bitops/non-atomic.h>
14*4882a593Smuzhiyun #include <asm/bitops/ffs.h>
15*4882a593Smuzhiyun 
16*4882a593Smuzhiyun #include <asm-generic/bitops/fls.h>
17*4882a593Smuzhiyun #include <asm-generic/bitops/__fls.h>
18*4882a593Smuzhiyun #include <asm-generic/bitops/fls64.h>
19*4882a593Smuzhiyun #include <asm-generic/bitops/__ffs.h>
20*4882a593Smuzhiyun 
21*4882a593Smuzhiyun #endif /* __ASM_NIOS2_BITOPS_H */
22