diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-10-29 08:49:47 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2007-10-29 13:42:35 -0400 |
commit | 18b8befd3755b2b9afa86e270b701473676644b7 (patch) | |
tree | fd98090ef001af571b84f8d7578bf6f2eaa635a8 /arch/ia64/mm | |
parent | 2a397e82c7db18019e408f953dd58dc1963a328c (diff) |
[IA64] ia64/mm/init.c: fix section mismatches
This patch fixes the following section mismatches:
<-- snip -->
...
WARNING: vmlinux.o(.text+0x5b5c2): Section mismatch: reference to .init.text:memmap_init_zone (between 'memmap_init' and 'virtual_memmap_init')
WARNING: vmlinux.o(.text+0x5b842): Section mismatch: reference to .init.text:memmap_init_zone (between 'virtual_memmap_init' and 'ia64_mmu_init')
...
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/mm')
-rw-r--r-- | arch/ia64/mm/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/mm/init.c b/arch/ia64/mm/init.c index c6c19bf11bec..25aef6211a54 100644 --- a/arch/ia64/mm/init.c +++ b/arch/ia64/mm/init.c | |||
@@ -472,7 +472,7 @@ struct memmap_init_callback_data { | |||
472 | unsigned long zone; | 472 | unsigned long zone; |
473 | }; | 473 | }; |
474 | 474 | ||
475 | static int | 475 | static int __meminit |
476 | virtual_memmap_init (u64 start, u64 end, void *arg) | 476 | virtual_memmap_init (u64 start, u64 end, void *arg) |
477 | { | 477 | { |
478 | struct memmap_init_callback_data *args; | 478 | struct memmap_init_callback_data *args; |
@@ -503,7 +503,7 @@ virtual_memmap_init (u64 start, u64 end, void *arg) | |||
503 | return 0; | 503 | return 0; |
504 | } | 504 | } |
505 | 505 | ||
506 | void | 506 | void __meminit |
507 | memmap_init (unsigned long size, int nid, unsigned long zone, | 507 | memmap_init (unsigned long size, int nid, unsigned long zone, |
508 | unsigned long start_pfn) | 508 | unsigned long start_pfn) |
509 | { | 509 | { |