Skip to contentSkip to conversation

+ kernel-time-sched_clockc-correct-the-comparison-parameter-of-mhz.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Aug 9, 2013

lore
Share & tools
lore
#0 lore raw

Subject: + kernel-time-sched_clockc-correct-the-comparison-parameter-of-mhz.patch added to -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 09 Aug 2013 16:21:36 -0700

The patch titled
Subject: kernel/time/sched_clock.c: correct the comparison parameter of MHz
has been added to the -mm tree. Its filename is
kernel-time-sched_clockc-correct-the-comparison-parameter-of-mhz.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/kernel-time-sched_clockc-correct-the-comparison-parameter-of-mhz.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/kernel-time-sched_clockc-correct-the-comparison-parameter-of-mhz.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Bo Shen <[email protected]>
Subject: kernel/time/sched_clock.c: correct the comparison parameter of MHz

Correct the comparison parameter of MHz from 4,000,000 to 1,000,000

Cc Thomas Gleixner <[email protected]>
Cc Ingo Molnar <[email protected]>

---

 kernel/time/sched_clock.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/time/sched_clock.c renamed from kernel/time/sched_clock.c~kernel-time-sched_clockc-correct-the-comparison-parameter-of-mhz +1 -1
diff -puN kernel/time/sched_clock.c~kernel-time-sched_clockc-correct-the-comparison-parameter-of-mhz kernel/time/sched_clock.c
@@ -128,7 +128,7 @@ void __init setup_sched_clock(u32 (*read
 	clocks_calc_mult_shift(&cd.mult, &cd.shift, rate, NSEC_PER_SEC, 0);
 
 	r = rate;
-	if (r >= 4000000) {
+	if (r >= 1000000) {
 		r /= 1000000;
 		r_unit = 'M';
 	} else if (r >= 1000) {

_

Patches currently in -mm which might be from [email protected] are

kernel-time-sched_clockc-correct-the-comparison-parameter-of-mhz.patch linux-next.patch