mm.c: use caching variable
PATCH 1/1 mm.c: use caching variable
Hi!
Attached patch uses cached domain variable rather
dereferencing "current" yet another time.
Signed-off-by Christoph Egger <[email protected]>
Signature · 12 lines
AMD Saxony, Dresden, Germany Operating System Research Center Legal Information: AMD Saxony Limited Liability Company & Co. KG Sitz (Geschäftsanschrift): Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland Registergericht Dresden: HRA 4896 vertretungsberechtigter Komplementär: AMD Saxony LLC (Sitz Wilmington, Delaware, USA) Geschäftsführer der AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy
xen/arch/x86/mm.c +1 -1
@@ -3086,7 +3086,7 @@ int do_update_va_mapping(unsigned long vif (unlikely (!access_ok (va,1 ) && !paging_mode_external (d)) )return -EINVAL ; - rc =xsm_update_va_mapping (current->domain, val); + rc =xsm_update_va_mapping (d, val);if ( rc )return rc;
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel