diff options
author | Juergen Gross <jgross@suse.com> | 2025-08-26 16:56:07 +0200 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2025-09-08 17:01:36 +0200 |
commit | 0f4283123fe1e6016296048d0fdcfce615047a13 (patch) | |
tree | 6e073d82ff1cc58b732f97cdb6a543b1618fb47f /rust/helpers/helpers.c | |
parent | 34c605fe53d49886d2741223b12950a33bdf2acf (diff) |
xen: replace XENFEAT_auto_translated_physmap with xen_pv_domain()
Instead of testing the XENFEAT_auto_translated_physmap feature, just
use !xen_pv_domain() which is equivalent.
This has the advantage that a kernel not built with CONFIG_XEN_PV
will be smaller due to dead code elimination.
Reviewed-by: Jason Andryuk <jason.andryuk@amd.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Message-ID: <20250826145608.10352-3-jgross@suse.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions