Subject: + kernel-time-sched_clockc-correct-the-comparison-parameter-of-mhz.patch added to -mm tree To: voice.shen@xxxxxxxxx,mingo@xxxxxxx,tglx@xxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx 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 <voice.shen@xxxxxxxxx> 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 Signed-off-by: Bo Shen <voice.shen@xxxxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/time/sched_clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN kernel/time/sched_clock.c~kernel-time-sched_clockc-correct-the-comparison-parameter-of-mhz kernel/time/sched_clock.c --- a/kernel/time/sched_clock.c~kernel-time-sched_clockc-correct-the-comparison-parameter-of-mhz +++ a/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 voice.shen@xxxxxxxxx are kernel-time-sched_clockc-correct-the-comparison-parameter-of-mhz.patch linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html