]> git.baikalelectronics.ru Git - kernel.git/commit
x86/Xen: mark xen_setup_gdt() __init
authorJan Beulich <JBeulich@suse.com>
Mon, 25 Jun 2018 10:34:01 +0000 (04:34 -0600)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Mon, 20 Aug 2018 18:46:18 +0000 (14:46 -0400)
commit557811c7a529981aa48fb28a5c96270f638905e4
tree7acf8ba7aad659c10e07489216fa1ba8c521dda3
parent0d2a7249f98d4d5e0531ba613a16eb108fe14582
x86/Xen: mark xen_setup_gdt() __init

Its only caller is __init, so to avoid section mismatch warnings when a
compiler decides to not inline the function marke this function so as
well. Take the opportunity and also make the function actually use its
argument: The sole caller passes in zero anyway.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
arch/x86/xen/enlighten_pv.c