diff options
author | Scott Wood <scottwood@freescale.com> | 2013-11-22 15:52:29 -0600 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-12-11 00:12:44 +0100 |
commit | f5f972102d5c12729f0a35fce266b580aaa03f66 (patch) | |
tree | fa0add57e9bb137fb49ae333247d18a715d07a9e /arch/powerpc/include/asm/kvm_book3s_asm.h | |
parent | 3d3319b45eea26df56c53aae1a65adf74c8ab12a (diff) | |
download | op-kernel-dev-f5f972102d5c12729f0a35fce266b580aaa03f66.zip op-kernel-dev-f5f972102d5c12729f0a35fce266b580aaa03f66.tar.gz |
powerpc/kvm/booke: Fix build break due to stack frame size warning
Commit ce11e48b7fdd256ec68b932a89b397a790566031 ("KVM: PPC: E500: Add
userspace debug stub support") added "struct thread_struct" to the
stack of kvmppc_vcpu_run(). thread_struct is 1152 bytes on my build,
compared to 48 bytes for the recently-introduced "struct debug_reg".
Use the latter instead.
This fixes the following error:
cc1: warnings being treated as errors
arch/powerpc/kvm/booke.c: In function 'kvmppc_vcpu_run':
arch/powerpc/kvm/booke.c:760:1: error: the frame size of 1424 bytes is larger than 1024 bytes
make[2]: *** [arch/powerpc/kvm/booke.o] Error 1
make[1]: *** [arch/powerpc/kvm] Error 2
make[1]: *** Waiting for unfinished jobs....
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/include/asm/kvm_book3s_asm.h')
0 files changed, 0 insertions, 0 deletions