Commit 0b4736a4 authored by Yury Norov's avatar Yury Norov

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: default avatarYury Norov <yury.norov@gmail.com>
parent b0b0b77e
...@@ -160,18 +160,20 @@ extern int _test_and_change_bit(int nr, volatile unsigned long * p); ...@@ -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. * Little endian assembly bitops. nr = 0 -> byte 0 bit 0.
*/ */
extern int _find_first_zero_bit_le(const unsigned long *p, unsigned size); unsigned long _find_first_zero_bit_le(const unsigned long *p, unsigned long size);
extern int _find_next_zero_bit_le(const unsigned long *p, int size, int offset); unsigned long _find_next_zero_bit_le(const unsigned long *p,
extern int _find_first_bit_le(const unsigned long *p, unsigned size); unsigned long size, unsigned long offset);
extern int _find_next_bit_le(const unsigned long *p, int size, int 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. * Big endian assembly bitops. nr = 0 -> byte 3 bit 0.
*/ */
extern int _find_first_zero_bit_be(const unsigned long *p, unsigned size); unsigned long _find_first_zero_bit_be(const unsigned long *p, unsigned long size);
extern int _find_next_zero_bit_be(const unsigned long *p, int size, int offset); unsigned long _find_next_zero_bit_be(const unsigned long *p,
extern int _find_first_bit_be(const unsigned long *p, unsigned size); unsigned long size, unsigned long offset);
extern int _find_next_bit_be(const unsigned long *p, int size, int 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 #ifndef CONFIG_SMP
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment