Re: [PATCH] xen: x86: mark xen_find_pt_base as __init

2017-09-16 Thread Boris Ostrovsky
On 09/15/2017 03:29 PM, Arnd Bergmann wrote: > gcc-4.6 causes a harmless link-time warning: > > WARNING: vmlinux.o(.text.unlikely+0x48e): Section mismatch in reference from > the function xen_find_pt_base() to the function .init.text:m2p() > The function xen_find_pt_base() references > the functio

[PATCH] xen: x86: mark xen_find_pt_base as __init

2017-09-15 Thread Arnd Bergmann
gcc-4.6 causes a harmless link-time warning: WARNING: vmlinux.o(.text.unlikely+0x48e): Section mismatch in reference from the function xen_find_pt_base() to the function .init.text:m2p() The function xen_find_pt_base() references the function __init m2p(). This is often because xen_find_pt_base l