diff options
Diffstat (limited to 'arch/x86/kernel/alternative.c')
-rw-r--r-- | arch/x86/kernel/alternative.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c index 11b03d3c6fda..42421437ded3 100644 --- a/arch/x86/kernel/alternative.c +++ b/arch/x86/kernel/alternative.c | |||
@@ -369,8 +369,8 @@ void apply_paravirt(struct paravirt_patch_site *start, | |||
369 | BUG_ON(p->len > MAX_PATCH_LEN); | 369 | BUG_ON(p->len > MAX_PATCH_LEN); |
370 | /* prep the buffer with the original instructions */ | 370 | /* prep the buffer with the original instructions */ |
371 | memcpy(insnbuf, p->instr, p->len); | 371 | memcpy(insnbuf, p->instr, p->len); |
372 | used = paravirt_ops.patch(p->instrtype, p->clobbers, insnbuf, | 372 | used = pv_init_ops.patch(p->instrtype, p->clobbers, insnbuf, |
373 | (unsigned long)p->instr, p->len); | 373 | (unsigned long)p->instr, p->len); |
374 | 374 | ||
375 | BUG_ON(used > p->len); | 375 | BUG_ON(used > p->len); |
376 | 376 | ||