]> 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)
commit06cdd2b0f7351d0b2134defe934a660a8767a5eb
tree8a0ecc91e8d4d3b4a3f51d5e614740ec8cc9614e
parentdc80e22806cf8fc9e27ef5eb1756fd5d7836c35a
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