sparc: unify kernel/cpu
authorSam Ravnborg <sam@ravnborg.org>
Sun, 7 Dec 2008 08:04:30 +0000 (00:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Dec 2008 08:04:30 +0000 (00:04 -0800)
commitd34dd82905fb8e1117b67ab6c32989f88cfa0ba8
tree9e39651b66ad2b7679c50e6392ce7b92c359f5e2
parent2bf05fa03ea10e7dcfd38cc8643bbb29c3ad6f9e
sparc: unify kernel/cpu

o use cpu_32.c as base
o move all sparc64 definitions to the common cpu.c
o use ifdef for the parts that differs and use cpu_32 as base
o spitfire.h required a CONFIG_SPARC64 guard to fix build on 32 bit

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/spitfire.h
arch/sparc/kernel/Makefile
arch/sparc/kernel/cpu.c [moved from arch/sparc/kernel/cpu_32.c with 70% similarity]
arch/sparc/kernel/cpu_64.c [deleted file]