diff options
Diffstat (limited to 'arch/unicore32/include/asm/bitops.h')
| -rw-r--r-- | arch/unicore32/include/asm/bitops.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/unicore32/include/asm/bitops.h b/arch/unicore32/include/asm/bitops.h index 1628a6328994..401f597bc38c 100644 --- a/arch/unicore32/include/asm/bitops.h +++ b/arch/unicore32/include/asm/bitops.h | |||
| @@ -13,12 +13,6 @@ | |||
| 13 | #ifndef __UNICORE_BITOPS_H__ | 13 | #ifndef __UNICORE_BITOPS_H__ |
| 14 | #define __UNICORE_BITOPS_H__ | 14 | #define __UNICORE_BITOPS_H__ |
| 15 | 15 | ||
| 16 | #define find_next_bit __uc32_find_next_bit | ||
| 17 | #define find_next_zero_bit __uc32_find_next_zero_bit | ||
| 18 | |||
| 19 | #define find_first_bit __uc32_find_first_bit | ||
| 20 | #define find_first_zero_bit __uc32_find_first_zero_bit | ||
| 21 | |||
| 22 | #define _ASM_GENERIC_BITOPS_FLS_H_ | 16 | #define _ASM_GENERIC_BITOPS_FLS_H_ |
| 23 | #define _ASM_GENERIC_BITOPS___FLS_H_ | 17 | #define _ASM_GENERIC_BITOPS___FLS_H_ |
| 24 | #define _ASM_GENERIC_BITOPS_FFS_H_ | 18 | #define _ASM_GENERIC_BITOPS_FFS_H_ |
| @@ -44,4 +38,10 @@ static inline int fls(int x) | |||
| 44 | 38 | ||
| 45 | #include <asm-generic/bitops.h> | 39 | #include <asm-generic/bitops.h> |
| 46 | 40 | ||
| 41 | /* following definitions: to avoid using codes in lib/find_*.c */ | ||
| 42 | #define find_next_bit find_next_bit | ||
| 43 | #define find_next_zero_bit find_next_zero_bit | ||
| 44 | #define find_first_bit find_first_bit | ||
| 45 | #define find_first_zero_bit find_first_zero_bit | ||
| 46 | |||
| 47 | #endif /* __UNICORE_BITOPS_H__ */ | 47 | #endif /* __UNICORE_BITOPS_H__ */ |
