diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2007-07-27 06:29:13 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-07-27 06:29:18 -0400 |
commit | e62133b4ea0d85888d9883a3e1c396ea8717bc26 (patch) | |
tree | 72b5840c1ab1430518665dcb02532dc2edd44242 /arch/s390 | |
parent | 3b74a87422cc8d1062529b58bc3891383d138e5e (diff) |
[S390] Get rid of new section mismatch warnings.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/kernel/head.S | 1 | ||||
-rw-r--r-- | arch/s390/kernel/vmlinux.lds.S | 1 | ||||
-rw-r--r-- | arch/s390/mm/vmem.c | 6 |
3 files changed, 5 insertions, 3 deletions
diff --git a/arch/s390/kernel/head.S b/arch/s390/kernel/head.S index 8f8c802f1bcf..83477c7dc743 100644 --- a/arch/s390/kernel/head.S +++ b/arch/s390/kernel/head.S | |||
@@ -35,6 +35,7 @@ | |||
35 | #define ARCH_OFFSET 0 | 35 | #define ARCH_OFFSET 0 |
36 | #endif | 36 | #endif |
37 | 37 | ||
38 | .section ".text.head","ax" | ||
38 | #ifndef CONFIG_IPL | 39 | #ifndef CONFIG_IPL |
39 | .org 0 | 40 | .org 0 |
40 | .long 0x00080000,0x80000000+startup # Just a restart PSW | 41 | .long 0x00080000,0x80000000+startup # Just a restart PSW |
diff --git a/arch/s390/kernel/vmlinux.lds.S b/arch/s390/kernel/vmlinux.lds.S index 6ab7d4ee13a4..b4622a3889b0 100644 --- a/arch/s390/kernel/vmlinux.lds.S +++ b/arch/s390/kernel/vmlinux.lds.S | |||
@@ -21,6 +21,7 @@ SECTIONS | |||
21 | . = 0x00000000; | 21 | . = 0x00000000; |
22 | _text = .; /* Text and read-only data */ | 22 | _text = .; /* Text and read-only data */ |
23 | .text : { | 23 | .text : { |
24 | *(.text.head) | ||
24 | TEXT_TEXT | 25 | TEXT_TEXT |
25 | SCHED_TEXT | 26 | SCHED_TEXT |
26 | LOCK_TEXT | 27 | LOCK_TEXT |
diff --git a/arch/s390/mm/vmem.c b/arch/s390/mm/vmem.c index 92a565190028..fd594d5fe142 100644 --- a/arch/s390/mm/vmem.c +++ b/arch/s390/mm/vmem.c | |||
@@ -29,8 +29,8 @@ struct memory_segment { | |||
29 | 29 | ||
30 | static LIST_HEAD(mem_segs); | 30 | static LIST_HEAD(mem_segs); |
31 | 31 | ||
32 | void memmap_init(unsigned long size, int nid, unsigned long zone, | 32 | void __meminit memmap_init(unsigned long size, int nid, unsigned long zone, |
33 | unsigned long start_pfn) | 33 | unsigned long start_pfn) |
34 | { | 34 | { |
35 | struct page *start, *end; | 35 | struct page *start, *end; |
36 | struct page *map_start, *map_end; | 36 | struct page *map_start, *map_end; |
@@ -66,7 +66,7 @@ void memmap_init(unsigned long size, int nid, unsigned long zone, | |||
66 | } | 66 | } |
67 | } | 67 | } |
68 | 68 | ||
69 | static inline void *vmem_alloc_pages(unsigned int order) | 69 | static void __init_refok *vmem_alloc_pages(unsigned int order) |
70 | { | 70 | { |
71 | if (slab_is_available()) | 71 | if (slab_is_available()) |
72 | return (void *)__get_free_pages(GFP_KERNEL, order); | 72 | return (void *)__get_free_pages(GFP_KERNEL, order); |