mirror of https://gitee.com/openkylin/linux.git
[POWERPC] iSeries: suppress build warning in lparmap.c
lparmap.c: Assembler messages: lparmap.c:51: Warning: ignoring changed section attributes for .text Idea from Segher Boessenkool. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
4e8ad3e816
commit
8cf44080eb
|
@ -10,7 +10,8 @@
|
|||
#include <asm/pgtable.h>
|
||||
#include <asm/iseries/lpar_map.h>
|
||||
|
||||
const struct LparMap __attribute__((__section__(".text"))) xLparMap = {
|
||||
/* The # is to stop gcc trying to make .text nonexecutable */
|
||||
const struct LparMap __attribute__((__section__(".text #"))) xLparMap = {
|
||||
.xNumberEsids = HvEsidsToMap,
|
||||
.xNumberRanges = HvRangesToMap,
|
||||
.xSegmentTableOffs = STAB0_PAGE,
|
||||
|
|
Loading…
Reference in New Issue