]> git.baikalelectronics.ru Git - kernel.git/commit
ARC: mm: HIGHMEM: Fix section mismatch splat
authorVineet Gupta <vgupta@synopsys.com>
Sat, 19 Dec 2015 08:13:34 +0000 (13:43 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 21 Dec 2015 06:40:40 +0000 (12:10 +0530)
commit360bc901abf51df50c5b226ee10c41433fb2ab89
tree8a0ecc91e8d4d3b4a3f51d5e614740ec8cc9614e
parent76066219c1aa9865e8fc88181b8dc2f6356df9ce
ARC: mm: HIGHMEM: Fix section mismatch splat

| WARNING: vmlinux.o(.text+0xd6c2): Section mismatch in reference from the function alloc_kmap_pgtable() to the function
| .init.text:__alloc_bootmem_low()
The function alloc_kmap_pgtable() references the function __init __alloc_bootmem_low().
This is often because alloc_kmap_pgtable lacks a __init annotation or the annotation of __alloc_bootmem_low is wrong.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/mm/highmem.c