aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/paravirt.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2009-01-29 04:51:34 -0500
committerH. Peter Anvin <hpa@linux.intel.com>2009-01-30 17:52:39 -0500
commit4767afbf1f60f73997a7eb69a86d380f1fb27a92 (patch)
tree717fbbbeb13d3c7f0ab16bc5d5eade8886a8b02f /arch/x86/include/asm/paravirt.h
parentda5de7c22eb705be709a57e486e7475a6969b994 (diff)
x86/paravirt: fix missing callee-save call on pud_val
Impact: Fix build when CONFIG_PARAVIRT_DEBUG is enabled Fix missed convertion to using callee-saved calls for pud_val, which causes a compile error when CONFIG_PARAVIRT_DEBUG is enabled. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/include/asm/paravirt.h')
-rw-r--r--arch/x86/include/asm/paravirt.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/include/asm/paravirt.h b/arch/x86/include/asm/paravirt.h
index 2d098b78bc10..b17365c39749 100644
--- a/arch/x86/include/asm/paravirt.h
+++ b/arch/x86/include/asm/paravirt.h
@@ -1321,11 +1321,11 @@ static inline pudval_t pud_val(pud_t pud)
1321 pudval_t ret; 1321 pudval_t ret;
1322 1322
1323 if (sizeof(pudval_t) > sizeof(long)) 1323 if (sizeof(pudval_t) > sizeof(long))
1324 ret = PVOP_CALL2(pudval_t, pv_mmu_ops.pud_val, 1324 ret = PVOP_CALLEE2(pudval_t, pv_mmu_ops.pud_val,
1325 pud.pud, (u64)pud.pud >> 32); 1325 pud.pud, (u64)pud.pud >> 32);
1326 else 1326 else
1327 ret = PVOP_CALL1(pudval_t, pv_mmu_ops.pud_val, 1327 ret = PVOP_CALLEE1(pudval_t, pv_mmu_ops.pud_val,
1328 pud.pud); 1328 pud.pud);
1329 1329
1330 return ret; 1330 return ret;
1331} 1331}