]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sh: move fpu_counter into ARCH specific thread_struct
authorVineet Gupta <Vineet.Gupta1@synopsys.com>
Tue, 5 Nov 2013 05:56:08 +0000 (16:56 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:56:08 +0000 (16:56 +1100)
commita81b58c3ad27ad1eff8956279bb3cd3f26b1021e
treed9629f5fa8c4cd89dbe2b1e37d106d6d60fa798c
parent5fff726dfa36d6bd3d858495a751fd2254c2d28d
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>
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