commit | 2197082afd4ef7139ea1bcb10b81c2dc881830a4 | [log] [tgz] |
---|---|---|
author | Jan Beulich <JBeulich@suse.com> | Mon Jun 25 04:34:01 2018 -0600 |
committer | Boris Ostrovsky <boris.ostrovsky@oracle.com> | Mon Aug 20 14:46:18 2018 -0400 |
tree | 7acf8ba7aad659c10e07489216fa1ba8c521dda3 | |
parent | 2ad0d52699700a91660a406a4046017a2d7f246a [diff] |
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>