microblaze: Change section flags for noMMU
authorMichal Simek <michal.simek@xilinx.com>
Fri, 21 Dec 2012 09:53:40 +0000 (10:53 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 3 Jan 2013 11:47:20 +0000 (12:47 +0100)
commit7e278157921f95d7313ede005cb07b72b7011962
tree938699d04ae5d9f55384660cccc5f6d88ba52003
parentca073b4af90b7d2ec6fd6563bee06a68907999ad
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>
arch/microblaze/include/asm/uaccess.h