Skip to contentSkip to conversation

x86/Xen: mark xen_setup_gdt() __init

PATCH Applied Juergen Gross 2 participants 2 messages Jul 2, 2018 – Aug 15, 2018 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Juergen Gross

author Reviewed-by
#1 lore raw
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.

Juergen

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#2 lore raw
Quoted 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.

Applied to for-linus-4.19.

-boris

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel