]> xenbits.xensource.com Git - people/aperard/xen-unstable.git/commitdiff
xen/grant: Fix build in PV_SHIM
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 14 Nov 2023 17:20:41 +0000 (17:20 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 14 Nov 2023 17:21:51 +0000 (17:21 +0000)
There was a variable name changed which wasn't accounted for in the backport.

Fixes: 267ac3c5921e ("x86/pv-shim: fix grant table operations for 32-bit guests")
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/compat/grant_table.c

index 2e159d6666254bffa3289cfd8f4298ec71a2bf0f..76b0671fa0d669d6a96aba132d6b85054975763f 100644 (file)
@@ -65,7 +65,7 @@ int compat_grant_table_op(
 
 #ifdef CONFIG_PV_SHIM
     if ( unlikely(pv_shim) )
-        return pv_shim_grant_table_op(cmd, uop, count);
+        return pv_shim_grant_table_op(cmd, cmp_uop, count);
 #endif
 
     set_xen_guest_handle(cnt_uop, NULL);