Rahul Lakkireddy 44c752fe58 vmcore: move get_vmcore_size out of __init
Fix below build warning:

WARNING: vmlinux.o(.text+0x422bb8): Section mismatch in reference from
the function vmcore_add_device_dump() to the function
.init.text:get_vmcore_size.constprop.5()

The function vmcore_add_device_dump() references
the function __init get_vmcore_size.constprop.5().
This is often because vmcore_add_device_dump lacks a __init
annotation or the annotation of get_vmcore_size.constprop.5 is wrong.

Fixes: 7efe48df8a3d ("vmcore: append device dumps to vmcore as elf notes")
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-05-21 12:34:22 -04:00
..
2018-04-11 10:28:34 -07:00
2018-04-13 17:10:27 -07:00
2018-04-11 10:28:34 -07:00
2018-04-20 17:18:36 -07:00
2017-11-17 16:10:00 -08:00
2018-04-11 10:28:34 -07:00
2017-11-13 21:05:31 -08:00
2018-04-11 10:28:34 -07:00
2018-02-06 18:32:43 -08:00
2018-02-06 18:32:43 -08:00
2017-11-17 16:10:00 -08:00