diff options
author | Roger Pau Monne <roger.pau@citrix.com> | 2022-01-21 10:01:46 +0100 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2022-01-28 13:26:13 +0100 |
commit | c8980fcb210851138cb34c9a8cb0cf0c09f07bf9 (patch) | |
tree | 645a069e104fa15ad4be9d686f8925996363720a /include/xen | |
parent | e783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff) | |
download | linux-c8980fcb210851138cb34c9a8cb0cf0c09f07bf9.tar.gz |
xen/x2apic: enable x2apic mode when supported for HVM
There's no point in disabling x2APIC mode when running as a Xen HVM
guest, just enable it when available.
Remove some unneeded wrapping around the detection functions, and
simply provide a xen_x2apic_available helper that's a wrapper around
x2apic_supported.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Link: https://lore.kernel.org/r/20220121090146.13697-1-roger.pau@citrix.com
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'include/xen')
0 files changed, 0 insertions, 0 deletions