aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/setup.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2007-02-05 15:18:31 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2007-02-05 15:18:31 -0500
commit31ee4b2f40994e8b21691f85cdd4052551a789b7 (patch)
tree1bb167e720e25a2ea9a5168b21cc882f85b18fa8 /arch/s390/kernel/setup.c
parent31cb4bd31a48f62105d037ad53192b94d4c08f53 (diff)
[S390] Calibrate delay and bogomips.
Preset the bogomips number to the cpu capacity value reported by store system information in SYSIB 1.2.2. This value is constant for a particular machine model and can be used to determine relative performance differences between machines. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/setup.c')
-rw-r--r--arch/s390/kernel/setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c
index 2569aafcc543..2fa866f6f711 100644
--- a/arch/s390/kernel/setup.c
+++ b/arch/s390/kernel/setup.c
@@ -938,6 +938,7 @@ static int show_cpuinfo(struct seq_file *m, void *v)
938 struct cpuinfo_S390 *cpuinfo; 938 struct cpuinfo_S390 *cpuinfo;
939 unsigned long n = (unsigned long) v - 1; 939 unsigned long n = (unsigned long) v - 1;
940 940
941 s390_adjust_jiffies();
941 preempt_disable(); 942 preempt_disable();
942 if (!n) { 943 if (!n) {
943 seq_printf(m, "vendor_id : IBM/S390\n" 944 seq_printf(m, "vendor_id : IBM/S390\n"