x86/Xen: mark xen_setup_gdt() __init
Juergen Gross
Reviewed-byQuoted 6 lines · Jan Beulich
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 <[email protected]>
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Boris Ostrovsky
AppliedQuoted 8 lines · Juergen Gross
Quoted 6 lines · Jan Beulich
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 <[email protected]>Reviewed-by Juergen Gross <[email protected]>
Applied to for-linus-4.19.
-boris
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel