diff options
author | Venki Pallipadi <venkatesh.pallipadi@intel.com> | 2007-04-06 13:04:49 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2007-04-06 18:37:45 -0400 |
commit | 8a3a78d1498c4c13c3ec235a4b6338624b6ef68d (patch) | |
tree | 8f548fc814d1d19ab6c98de32433bb6d151a00a6 /arch | |
parent | 9438a1218eceb1b3891d242da01bc3cc82cb7342 (diff) |
[IA64] Fix CPU freq displayed in /proc/cpuinfo
My patch: git commit=95235ca2c20ac0b31a8eb39e2d599bcc3e9c9a10 introduced a bug
in IA64 cpuinfo output.
Patch changed the proc_freq from 1HZ resolution to 1KHz resolution, but left
format string unchanged at " %lu.%06lu". Below is the fix.
Thanks to Bjorn for catching this.
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ia64/kernel/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c index 69b9bb3fd7c5..dc7dd7648ec5 100644 --- a/arch/ia64/kernel/setup.c +++ b/arch/ia64/kernel/setup.c | |||
@@ -640,7 +640,7 @@ show_cpuinfo (struct seq_file *m, void *v) | |||
640 | "features : %s\n" | 640 | "features : %s\n" |
641 | "cpu number : %lu\n" | 641 | "cpu number : %lu\n" |
642 | "cpu regs : %u\n" | 642 | "cpu regs : %u\n" |
643 | "cpu MHz : %lu.%06lu\n" | 643 | "cpu MHz : %lu.%03lu\n" |
644 | "itc MHz : %lu.%06lu\n" | 644 | "itc MHz : %lu.%06lu\n" |
645 | "BogoMIPS : %lu.%02lu\n", | 645 | "BogoMIPS : %lu.%02lu\n", |
646 | cpunum, c->vendor, c->family, c->model, | 646 | cpunum, c->vendor, c->family, c->model, |