]> xenbits.xensource.com Git - people/tklengyel/xen.git/commitdiff
tools/libs/guest: Fix build following libx86 changes
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 5 Apr 2023 12:36:13 +0000 (13:36 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 5 Apr 2023 12:57:32 +0000 (13:57 +0100)
I appear to have lost this hunk somewhere...

Fixes: 1b67fccf3b02 ("libx86: Update library API for cpu_policy")
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
tools/libs/guest/xg_cpuid_x86.c

index 33d366a8eb4386920135b8d613d8f161942bf5ee..bd16a87e489cd6eb7c7e35b9764de6ba76c380a4 100644 (file)
@@ -555,7 +555,7 @@ int xc_cpuid_apply_policy(xc_interface *xch, uint32_t domid, bool restore,
             const uint32_t *dfs;
 
             if ( !test_bit(b, disabled_features) ||
-                 !(dfs = x86_cpuid_lookup_deep_deps(b)) )
+                 !(dfs = x86_cpu_policy_lookup_deep_deps(b)) )
                 continue;
 
             for ( i = 0; i < ARRAY_SIZE(disabled_features); ++i )