KVM: PPC: elide struct thread_struct instances from stack
commit49f6be8ea1bd74713c1a48e42db06a3808dfa2cd
authorAndreas Schwab <schwab@linux-m68k.org>
Mon, 31 May 2010 19:59:13 +0000 (31 21:59 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:39:24 +0000 (1 10:39 +0300)
tree5be35ebab7a049e9358a60b308df981b02f70f21
parent5120702e732ed72c7055f511f8dd01de36424569
KVM: PPC: elide struct thread_struct instances from stack

Instead of instantiating a whole thread_struct on the stack use only the
required parts of it.

Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Tested-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/powerpc/include/asm/kvm_fpu.h
arch/powerpc/kernel/ppc_ksyms.c
arch/powerpc/kvm/book3s.c
arch/powerpc/kvm/book3s_paired_singles.c
arch/powerpc/kvm/fpu.S