diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 14:10:11 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 14:10:11 -0400 |
commit | fb9fc395174138983a49f2da982ed14caabbe741 (patch) | |
tree | 5d5d3643ee6853a899205613da272cc343fdc1a4 /arch/x86/kernel/alternative.c | |
parent | 0eafaae84e21ac033815cc9f33c3ae889cd7ccfe (diff) | |
parent | ace2e92e193126711cb3a83a3752b2c5b8396950 (diff) |
Merge branch 'xen-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen
* 'xen-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen:
xfs: eagerly remove vmap mappings to avoid upsetting Xen
xen: add some debug output for failed multicalls
xen: fix incorrect vcpu_register_vcpu_info hypercall argument
xen: ask the hypervisor how much space it needs reserved
xen: lock pte pages while pinning/unpinning
xen: deal with stale cr3 values when unpinning pagetables
xen: add batch completion callbacks
xen: yield to IPI target if necessary
Clean up duplicate includes in arch/i386/xen/
remove dead code in pgtable_cache_init
paravirt: clean up lazy mode handling
paravirt: refactor struct paravirt_ops into smaller pv_*_ops
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 | ||