diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-05-03 01:19:05 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-05-09 02:34:59 -0400 |
commit | 8cf44080ebc372d4d0d2997a0c015add0afcd65d (patch) | |
tree | 71c5137888af0492d438a59e6b98dfc957611842 | |
parent | 4e8ad3e816cca76ff8550e531103fc5e20471654 (diff) |
[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>
-rw-r--r-- | arch/powerpc/kernel/lparmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/lparmap.c b/arch/powerpc/kernel/lparmap.c index 584d1e3c013d..af11285ffbd1 100644 --- a/arch/powerpc/kernel/lparmap.c +++ b/arch/powerpc/kernel/lparmap.c | |||
@@ -10,7 +10,8 @@ | |||
10 | #include <asm/pgtable.h> | 10 | #include <asm/pgtable.h> |
11 | #include <asm/iseries/lpar_map.h> | 11 | #include <asm/iseries/lpar_map.h> |
12 | 12 | ||
13 | const struct LparMap __attribute__((__section__(".text"))) xLparMap = { | 13 | /* The # is to stop gcc trying to make .text nonexecutable */ |
14 | const struct LparMap __attribute__((__section__(".text #"))) xLparMap = { | ||
14 | .xNumberEsids = HvEsidsToMap, | 15 | .xNumberEsids = HvEsidsToMap, |
15 | .xNumberRanges = HvRangesToMap, | 16 | .xNumberRanges = HvRangesToMap, |
16 | .xSegmentTableOffs = STAB0_PAGE, | 17 | .xSegmentTableOffs = STAB0_PAGE, |