Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22982a56 authored by Greg Ungerer's avatar Greg Ungerer Committed by Linus Torvalds
Browse files

m68knommu: reformat show_cpuinfo()



Reformat show_cpuinfo() to be consistent with normal coding style
(and rest of this file).

Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent e3bbb3f0
Loading
Loading
Loading
Loading
+21 −20
Original line number Diff line number Diff line
@@ -231,7 +231,6 @@ void setup_arch(char **cmdline_p)
/*
 *	Get CPU information for use by the procfs.
 */

static int show_cpuinfo(struct seq_file *m, void *v)
{
	char *cpu, *mmu, *fpu;
@@ -254,8 +253,10 @@ static int show_cpuinfo(struct seq_file *m, void *v)
		      "BogoMips:\t%lu.%02lu\n"
		      "Calibration:\t%lu loops\n",
		      cpu, mmu, fpu,
		   clockfreq/1000000,(clockfreq/100000)%10,
		   (loops_per_jiffy*HZ)/500000,((loops_per_jiffy*HZ)/5000)%100,
		      clockfreq / 1000000,
		      (clockfreq / 100000) % 10,
		      (loops_per_jiffy * HZ) / 500000,
		      ((loops_per_jiffy * HZ) / 5000) % 100,
		      (loops_per_jiffy * HZ));

	return 0;