]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Assemble book3s{,_hv}_rmhandlers.S separately
authorPaul Mackerras <paulus@samba.org>
Sat, 23 Jul 2011 07:41:11 +0000 (17:41 +1000)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Sep 2011 16:52:28 +0000 (19:52 +0300)
commit8f73d268529af779772263ac3a52bf505642ef0a
tree565a52f37e49a0f31423740b5f309cebb59cf5d3
parentce1fdcac8978d5397b2d7e3120cc22c851301757
KVM: PPC: Assemble book3s{,_hv}_rmhandlers.S separately

This makes arch/powerpc/kvm/book3s_rmhandlers.S and
arch/powerpc/kvm/book3s_hv_rmhandlers.S be assembled as
separate compilation units rather than having them #included in
arch/powerpc/kernel/exceptions-64s.S.  We no longer have any
conditional branches between the exception prologs in
exceptions-64s.S and the KVM handlers, so there is no need to
keep their contents close together in the vmlinux image.

In their current location, they are using up part of the limited
space between the first-level interrupt handlers and the firmware
NMI data area at offset 0x7000, and with some kernel configurations
this area will overflow (e.g. allyesconfig), leading to an
"attempt to .org backwards" error when compiling exceptions-64s.S.

Moving them out requires that we add some #includes that the
book3s_{,hv_}rmhandlers.S code was previously getting implicitly
via exceptions-64s.S.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kernel/exceptions-64s.S
arch/powerpc/kvm/Makefile
arch/powerpc/kvm/book3s_hv_rmhandlers.S
arch/powerpc/kvm/book3s_rmhandlers.S