aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/paravirt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/paravirt.h')
-rw-r--r--include/asm-x86/paravirt.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/include/asm-x86/paravirt.h b/include/asm-x86/paravirt.h
index 4f23f434a1f3..24406703007f 100644
--- a/include/asm-x86/paravirt.h
+++ b/include/asm-x86/paravirt.h
@@ -1077,27 +1077,6 @@ static inline unsigned long __raw_local_irq_save(void)
1077 return f; 1077 return f;
1078} 1078}
1079 1079
1080#define CLI_STRING \
1081 _paravirt_alt("pushl %%ecx; pushl %%edx;" \
1082 "call *%[paravirt_cli_opptr];" \
1083 "popl %%edx; popl %%ecx", \
1084 "%c[paravirt_cli_type]", "%c[paravirt_clobber]")
1085
1086#define STI_STRING \
1087 _paravirt_alt("pushl %%ecx; pushl %%edx;" \
1088 "call *%[paravirt_sti_opptr];" \
1089 "popl %%edx; popl %%ecx", \
1090 "%c[paravirt_sti_type]", "%c[paravirt_clobber]")
1091
1092#define CLI_STI_CLOBBERS , "%eax"
1093#define CLI_STI_INPUT_ARGS \
1094 , \
1095 [paravirt_cli_type] "i" (PARAVIRT_PATCH(pv_irq_ops.irq_disable)), \
1096 [paravirt_cli_opptr] "m" (pv_irq_ops.irq_disable), \
1097 [paravirt_sti_type] "i" (PARAVIRT_PATCH(pv_irq_ops.irq_enable)), \
1098 [paravirt_sti_opptr] "m" (pv_irq_ops.irq_enable), \
1099 paravirt_clobber(CLBR_EAX)
1100
1101/* Make sure as little as possible of this mess escapes. */ 1080/* Make sure as little as possible of this mess escapes. */
1102#undef PARAVIRT_CALL 1081#undef PARAVIRT_CALL
1103#undef __PVOP_CALL 1082#undef __PVOP_CALL