aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/paravirt.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/paravirt.h')
-rw-r--r--arch/x86/include/asm/paravirt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/paravirt.h b/arch/x86/include/asm/paravirt.h
index e299287e8e33..0c212d528c0a 100644
--- a/arch/x86/include/asm/paravirt.h
+++ b/arch/x86/include/asm/paravirt.h
@@ -360,7 +360,7 @@ extern struct pv_lock_ops pv_lock_ops;
360 360
361#define paravirt_type(op) \ 361#define paravirt_type(op) \
362 [paravirt_typenum] "i" (PARAVIRT_PATCH(op)), \ 362 [paravirt_typenum] "i" (PARAVIRT_PATCH(op)), \
363 [paravirt_opptr] "m" (op) 363 [paravirt_opptr] "i" (&(op))
364#define paravirt_clobber(clobber) \ 364#define paravirt_clobber(clobber) \
365 [paravirt_clobber] "i" (clobber) 365 [paravirt_clobber] "i" (clobber)
366 366
@@ -412,7 +412,7 @@ int paravirt_disable_iospace(void);
412 * offset into the paravirt_patch_template structure, and can therefore be 412 * offset into the paravirt_patch_template structure, and can therefore be
413 * freely converted back into a structure offset. 413 * freely converted back into a structure offset.
414 */ 414 */
415#define PARAVIRT_CALL "call *%[paravirt_opptr];" 415#define PARAVIRT_CALL "call *%c[paravirt_opptr];"
416 416
417/* 417/*
418 * These macros are intended to wrap calls through one of the paravirt 418 * These macros are intended to wrap calls through one of the paravirt