mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
arm: align find_bit declarations with generic kernel
ARM has their own implementation for find_bit functions, and function declarations are different with those in generic headers. Fix it. Signed-off-by: Yury Norov <yury.norov@gmail.com>
This commit is contained in:
parent
b0b0b77ea6
commit
0b4736a424
1 changed files with 10 additions and 8 deletions
|
@ -160,18 +160,20 @@ extern int _test_and_change_bit(int nr, volatile unsigned long * p);
|
|||
/*
|
||||
* Little endian assembly bitops. nr = 0 -> byte 0 bit 0.
|
||||
*/
|
||||
extern int _find_first_zero_bit_le(const unsigned long *p, unsigned size);
|
||||
extern int _find_next_zero_bit_le(const unsigned long *p, int size, int offset);
|
||||
extern int _find_first_bit_le(const unsigned long *p, unsigned size);
|
||||
extern int _find_next_bit_le(const unsigned long *p, int size, int offset);
|
||||
unsigned long _find_first_zero_bit_le(const unsigned long *p, unsigned long size);
|
||||
unsigned long _find_next_zero_bit_le(const unsigned long *p,
|
||||
unsigned long size, unsigned long offset);
|
||||
unsigned long _find_first_bit_le(const unsigned long *p, unsigned long size);
|
||||
unsigned long _find_next_bit_le(const unsigned long *p, unsigned long size, unsigned long offset);
|
||||
|
||||
/*
|
||||
* Big endian assembly bitops. nr = 0 -> byte 3 bit 0.
|
||||
*/
|
||||
extern int _find_first_zero_bit_be(const unsigned long *p, unsigned size);
|
||||
extern int _find_next_zero_bit_be(const unsigned long *p, int size, int offset);
|
||||
extern int _find_first_bit_be(const unsigned long *p, unsigned size);
|
||||
extern int _find_next_bit_be(const unsigned long *p, int size, int offset);
|
||||
unsigned long _find_first_zero_bit_be(const unsigned long *p, unsigned long size);
|
||||
unsigned long _find_next_zero_bit_be(const unsigned long *p,
|
||||
unsigned long size, unsigned long offset);
|
||||
unsigned long _find_first_bit_be(const unsigned long *p, unsigned long size);
|
||||
unsigned long _find_next_bit_be(const unsigned long *p, unsigned long size, unsigned long offset);
|
||||
|
||||
#ifndef CONFIG_SMP
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue