Commit e62133b4ea0d85888d9883a3e1c396ea8717bc26
Committed by
Martin Schwidefsky
1 parent
3b74a87422
Exists in
master
and in
7 other branches
[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>
Showing 5 changed files with 8 additions and 9 deletions Side-by-side Diff
arch/s390/kernel/head.S
arch/s390/kernel/vmlinux.lds.S
arch/s390/mm/vmem.c
... | ... | @@ -29,8 +29,8 @@ |
29 | 29 | |
30 | 30 | static LIST_HEAD(mem_segs); |
31 | 31 | |
32 | -void memmap_init(unsigned long size, int nid, unsigned long zone, | |
33 | - unsigned long start_pfn) | |
32 | +void __meminit memmap_init(unsigned long size, int nid, unsigned long zone, | |
33 | + unsigned long start_pfn) | |
34 | 34 | { |
35 | 35 | struct page *start, *end; |
36 | 36 | struct page *map_start, *map_end; |
... | ... | @@ -66,7 +66,7 @@ |
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 | 71 | if (slab_is_available()) |
72 | 72 | return (void *)__get_free_pages(GFP_KERNEL, order); |
drivers/s390/char/raw3270.c
... | ... | @@ -147,8 +147,7 @@ |
147 | 147 | * Allocate a new 3270 ccw request from bootmem. Only works very |
148 | 148 | * early in the boot process. Only con3270.c should be using this. |
149 | 149 | */ |
150 | -struct raw3270_request * | |
151 | -raw3270_request_alloc_bootmem(size_t size) | |
150 | +struct raw3270_request __init *raw3270_request_alloc_bootmem(size_t size) | |
152 | 151 | { |
153 | 152 | struct raw3270_request *rq; |
154 | 153 | |
... | ... | @@ -848,8 +847,7 @@ |
848 | 847 | /* |
849 | 848 | * Setup 3270 device configured as console. |
850 | 849 | */ |
851 | -struct raw3270 * | |
852 | -raw3270_setup_console(struct ccw_device *cdev) | |
850 | +struct raw3270 __init *raw3270_setup_console(struct ccw_device *cdev) | |
853 | 851 | { |
854 | 852 | struct raw3270 *rp; |
855 | 853 | char *ascebc; |
drivers/s390/char/sclp_vt220.c