mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-07-06 05:45:29 +02:00
compiler.h: Undef before redefining __attribute_const__
This is required to avoid warnings like util/include/linux/compiler.h:8:0: error: "__attribute_const__" redefined [-Werror] Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
908bcc4a78
commit
3ed85f3775
|
@ -38,6 +38,7 @@
|
||||||
#define __always_inline inline
|
#define __always_inline inline
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#undef __user
|
||||||
#define __user
|
#define __user
|
||||||
#define __rcu
|
#define __rcu
|
||||||
#define __read_mostly
|
#define __read_mostly
|
||||||
|
|
Loading…
Reference in New Issue
Block a user