9
0
Fork 0
This commit is contained in:
sascha 2007-10-15 18:01:30 +02:00
parent 7e58e219f8
commit 7f72d26be9
2 changed files with 1 additions and 8 deletions

View File

@ -15,11 +15,6 @@
#ifndef __ASM_ARM_BITOPS_H
#define __ASM_ARM_BITOPS_H
#ifdef __KERNEL__
#define smp_mb__before_clear_bit() do { } while (0)
#define smp_mb__after_clear_bit() do { } while (0)
/*
* Function prototypes to keep gcc -Wall happy.
*/
@ -139,6 +134,4 @@ static inline unsigned long ffz(unsigned long word)
#define minix_test_bit(nr,addr) test_bit(nr,addr)
#define minix_find_first_zero_bit(addr,size) find_first_zero_bit(addr,size)
#endif /* __KERNEL__ */
#endif /* _ARM_BITOPS_H */

View File

@ -66,7 +66,7 @@ static inline unsigned int generic_hweight8(unsigned int w)
return (res & 0x0F) + ((res >> 4) & 0x0F);
}
//#include <asm/bitops.h>
#include <asm/bitops.h>
#endif