diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-08-14 21:48:13 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-14 21:48:13 -0400 |
commit | e82da214d2fe3dc2610df966100c4f36bc0fad91 (patch) | |
tree | 27904e62592da9c84499509cc85429644dcd0b93 /arch/sh/kernel/setup.c | |
parent | aae4d1428c03b03f9fe6204a83e35822fe9cc591 (diff) |
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>
Diffstat (limited to 'arch/sh/kernel/setup.c')
-rw-r--r-- | arch/sh/kernel/setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c index ceb409bf7741..dc403e42bcab 100644 --- a/arch/sh/kernel/setup.c +++ b/arch/sh/kernel/setup.c | |||
@@ -49,6 +49,7 @@ | |||
49 | struct sh_cpuinfo cpu_data[NR_CPUS] __read_mostly = { | 49 | struct sh_cpuinfo cpu_data[NR_CPUS] __read_mostly = { |
50 | [0] = { | 50 | [0] = { |
51 | .type = CPU_SH_NONE, | 51 | .type = CPU_SH_NONE, |
52 | .family = CPU_FAMILY_UNKNOWN, | ||
52 | .loops_per_jiffy = 10000000, | 53 | .loops_per_jiffy = 10000000, |
53 | }, | 54 | }, |
54 | }; | 55 | }; |