]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
KVM: PPC: Move KVM trampolines before __end_interrupts
authorAlexander Graf <agraf@suse.de>
Thu, 29 Jul 2010 13:04:22 +0000 (15:04 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:50:59 +0000 (10:50 +0200)
commita58ddea556f8877ccf7caa046b6d6b32982f5b1d
tree6642aef5386958f7b36e857742e1a03ad164b578
parent2b05d71fefc3b83e686bead355c6d35e440c4261
KVM: PPC: Move KVM trampolines before __end_interrupts

When using a relocatable kernel we need to make sure that the trampline code
and the interrupt handlers are both copied to low memory. The only way to do
this reliably is to put them in the copied section.

This patch should make relocated kernels work with KVM.

KVM-Stable-Tag
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kernel/exceptions-64s.S
arch/powerpc/kernel/head_64.S