]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86: move fpu_counter into ARCH specific thread_struct
authorVineet Gupta <Vineet.Gupta1@synopsys.com>
Tue, 5 Nov 2013 05:56:09 +0000 (16:56 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:56:09 +0000 (16:56 +1100)
commitfcec76dff8914c5f1299773466e9df3936ec7f90
tree869ccad06f456b69be339de3bb5c052d65cd698b
parenta81b58c3ad27ad1eff8956279bb3cd3f26b1021e
x86: move fpu_counter into ARCH specific thread_struct

Only a couple of arches (sh/x86) use fpu_counter in task_struct so it can
be moved out into ARCH specific thread_struct, reducing the size of
task_struct for other arches.

Compile tested i386_defconfig + gcc 4.7.3

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Cc: Paul Mundt <paul.mundt@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/x86/include/asm/fpu-internal.h
arch/x86/include/asm/processor.h
arch/x86/kernel/i387.c
arch/x86/kernel/process_32.c
arch/x86/kernel/process_64.c
arch/x86/kernel/traps.c