]> git.baikalelectronics.ru Git - kernel.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)
commitf0ed861095f1762ab65dc7e83bdb316133f8da7a
tree6642aef5386958f7b36e857742e1a03ad164b578
parent5764ccfe80e24c33f19ca77d62a999b539c03dd3
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