Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
wdenk | 5c952cf | 2004-10-10 21:27:30 +0000 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2004, Psyent Corporation <www.psyent.com> |
| 4 | * Scott McNutt <smcnutt@psyent.com> |
wdenk | 5c952cf | 2004-10-10 21:27:30 +0000 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef __ASM_NIOS2_BITOPS_H_ |
| 8 | #define __ASM_NIOS2_BITOPS_H_ |
| 9 | |
Thomas Chou | 3bef253 | 2010-03-20 07:05:46 +0800 | [diff] [blame] | 10 | /* copied from linux-2.6/include/asm-generic/bitops */ |
| 11 | #include <asm/bitops/atomic.h> |
| 12 | #include <asm/bitops/non-atomic.h> |
| 13 | #include <asm/bitops/ffs.h> |
wdenk | 5c952cf | 2004-10-10 21:27:30 +0000 | [diff] [blame] | 14 | |
Fabio Estevam | 7a2a091 | 2015-11-05 12:43:34 -0200 | [diff] [blame] | 15 | #include <asm-generic/bitops/fls.h> |
| 16 | #include <asm-generic/bitops/__fls.h> |
| 17 | #include <asm-generic/bitops/fls64.h> |
| 18 | #include <asm-generic/bitops/__ffs.h> |
| 19 | |
wdenk | 5c952cf | 2004-10-10 21:27:30 +0000 | [diff] [blame] | 20 | #endif /* __ASM_NIOS2_BITOPS_H */ |