sh: move fpu_counter into ARCH specific thread_struct
authorVineet Gupta <Vineet.Gupta1@synopsys.com>
Tue, 12 Nov 2013 23:08:45 +0000 (15:08 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:13 +0000 (12:09 +0900)
commit616c05d110bb4ef8203f49c9d2476874077c2f6a
treeeb5bc88a430509fcdb8afe8ee9f344c903d1894d
parent261adc9a609dbfde815337889b9e2c8728959ab8
sh: 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 sh defconfig + sh4-linux-gcc (4.6.3)

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Cc: Paul Mundt <paul.mundt@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/sh/include/asm/fpu.h
arch/sh/include/asm/processor_32.h
arch/sh/include/asm/processor_64.h
arch/sh/kernel/cpu/fpu.c
arch/sh/kernel/process_32.c