mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
common: Drop linux/bitops.h from common header
Move this uncommon header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
f09f1ecbe7
commit
cd93d625fd
749 changed files with 940 additions and 6 deletions
|
@ -1,6 +1,8 @@
|
|||
#ifndef _LINUX_BITOPS_H
|
||||
#define _LINUX_BITOPS_H
|
||||
|
||||
#ifndef USE_HOSTCC
|
||||
|
||||
#include <asm/types.h>
|
||||
#include <asm-generic/bitsperlong.h>
|
||||
#include <linux/compiler.h>
|
||||
|
@ -216,4 +218,6 @@ static inline void generic_clear_bit(int nr, volatile unsigned long *addr)
|
|||
*p &= ~mask;
|
||||
}
|
||||
|
||||
#endif /* !USE_HOSTCC */
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue