diff options
Diffstat (limited to 'include/asm-i386/paravirt.h')
-rw-r--r-- | include/asm-i386/paravirt.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-i386/paravirt.h b/include/asm-i386/paravirt.h index 8bfaf10d9961..4b3d50858670 100644 --- a/include/asm-i386/paravirt.h +++ b/include/asm-i386/paravirt.h | |||
@@ -248,6 +248,18 @@ extern struct paravirt_ops paravirt_ops; | |||
248 | #define paravirt_alt(insn_string) \ | 248 | #define paravirt_alt(insn_string) \ |
249 | _paravirt_alt(insn_string, "%c[paravirt_typenum]", "%c[paravirt_clobber]") | 249 | _paravirt_alt(insn_string, "%c[paravirt_typenum]", "%c[paravirt_clobber]") |
250 | 250 | ||
251 | unsigned paravirt_patch_nop(void); | ||
252 | unsigned paravirt_patch_ignore(unsigned len); | ||
253 | unsigned paravirt_patch_call(void *target, u16 tgt_clobbers, | ||
254 | void *site, u16 site_clobbers, | ||
255 | unsigned len); | ||
256 | unsigned paravirt_patch_jmp(void *target, void *site, unsigned len); | ||
257 | unsigned paravirt_patch_default(u8 type, u16 clobbers, void *site, unsigned len); | ||
258 | |||
259 | unsigned paravirt_patch_insns(void *site, unsigned len, | ||
260 | const char *start, const char *end); | ||
261 | |||
262 | |||
251 | /* | 263 | /* |
252 | * This generates an indirect call based on the operation type number. | 264 | * This generates an indirect call based on the operation type number. |
253 | * The type number, computed in PARAVIRT_PATCH, is derived from the | 265 | * The type number, computed in PARAVIRT_PATCH, is derived from the |