mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
microblaze: Change section flags for noMMU
All files which uses user unified macros from uaccess.h (get_user/put_user/clear_user/copy_tofrom_user/ strnlen_user and strncpy_user) generate this warning messages: Assembler messages: Warning: ignoring changed section attributes for .discard Setting up discard executable section flang for __EX_TABLE_SECTION macro removed all these warnings. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
ca073b4af9
commit
7e27815792
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ static inline int ___range_ok(unsigned long addr, unsigned long size)
|
|||
# define __EX_TABLE_SECTION ".section __ex_table,\"a\"\n"
|
||||
#else
|
||||
# define __FIXUP_SECTION ".section .discard,\"ax\"\n"
|
||||
# define __EX_TABLE_SECTION ".section .discard,\"a\"\n"
|
||||
# define __EX_TABLE_SECTION ".section .discard,\"ax\"\n"
|
||||
#endif
|
||||
|
||||
extern unsigned long __copy_tofrom_user(void __user *to,
|
||||
|
|
Loading…
Reference in a new issue