diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2005-09-23 01:03:10 -0400 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-09-23 01:03:10 -0400 |
commit | 95b293800859886b602e31c8926a840530a82971 (patch) | |
tree | 7355f1986b4f41e09c91e354b4a59191de1e799b /arch/ppc64/kernel/time.c | |
parent | 47db360328582000a7a46390cfa385b8df07b44f (diff) |
ppc64 iSeries: Define /cpus in iSeries device tree
Add the /cpus node and nodes for each cpu, as well as cache size properties,
reg propery, "linux,boot-cpu", and timebase/clock frequency.
With those properties in place we can remove:
- setup_iSeries_cache_sizes()
- code in iSeries_setup_arch() to calculate timebase etc.
- iSeries_calibrate_decr()
- smp_iSeries_numProcs() and simplify smp_iSeries_probe()
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'arch/ppc64/kernel/time.c')
-rw-r--r-- | arch/ppc64/kernel/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc64/kernel/time.c b/arch/ppc64/kernel/time.c index fb4bf0ad8f32..7f63755eddfd 100644 --- a/arch/ppc64/kernel/time.c +++ b/arch/ppc64/kernel/time.c | |||
@@ -465,7 +465,7 @@ int do_settimeofday(struct timespec *tv) | |||
465 | 465 | ||
466 | EXPORT_SYMBOL(do_settimeofday); | 466 | EXPORT_SYMBOL(do_settimeofday); |
467 | 467 | ||
468 | #if defined(CONFIG_PPC_PSERIES) || defined(CONFIG_PPC_MAPLE) || defined(CONFIG_PPC_BPA) | 468 | #if defined(CONFIG_PPC_PSERIES) || defined(CONFIG_PPC_MAPLE) || defined(CONFIG_PPC_BPA) || defined(CONFIG_PPC_ISERIES) |
469 | void __init generic_calibrate_decr(void) | 469 | void __init generic_calibrate_decr(void) |
470 | { | 470 | { |
471 | struct device_node *cpu; | 471 | struct device_node *cpu; |