sh: Track the CPU family in sh_cpuinfo.
authorPaul Mundt <lethal@linux-sh.org>
Sat, 15 Aug 2009 01:48:13 +0000 (10:48 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Sat, 15 Aug 2009 01:48:13 +0000 (10:48 +0900)
commite82da214d2fe3dc2610df966100c4f36bc0fad91
tree27904e62592da9c84499509cc85429644dcd0b93
parentaae4d1428c03b03f9fe6204a83e35822fe9cc591
sh: Track the CPU family in sh_cpuinfo.

This adds a family member to struct sh_cpuinfo, which allows us to fall
back more on the probe routines to work out what sort of subtype we are
running on. This will be used by the CPU cache initialization code in
order to first do family-level initialization, followed by subtype-level
optimizations.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/bugs.h
arch/sh/include/asm/processor.h
arch/sh/kernel/cpu/sh2/probe.c
arch/sh/kernel/cpu/sh2a/probe.c
arch/sh/kernel/cpu/sh3/probe.c
arch/sh/kernel/cpu/sh4/probe.c
arch/sh/kernel/cpu/sh5/probe.c
arch/sh/kernel/setup.c