lkml.org 
[lkml]   [2018]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v14 20/25] x86/tsc: calibrate tsc only once
From
Date
Hi Thomas,

At 07/19/2018 02:25 PM, Thomas Gleixner wrote:
> On Thu, 19 Jul 2018, Dou Liyang wrote:
>> At 07/18/2018 10:22 AM, Pavel Tatashin wrote:
>>> + (unsigned long)cpu_khz % KHZ);
>>> if (cpu_khz != tsc_khz) {
>>> pr_info("Detected %lu.%03lu MHz TSC",
>>> - (unsigned long)tsc_khz / 1000,
>>> - (unsigned long)tsc_khz % 1000);
>>> + (unsigned long)tsc_khz / KHZ,
>>> + (unsigned long)tsc_khz % KHZ);
>>> + }
>>
>> this curly brackets can be removed
>
> No. They want to stay, really.
>
> https://lkml.kernel.org/r/alpine.DEB.2.20.1701171956290.3645@nanos
>
> The pr_info() is a multiline statement due to the line breaks.
>

I see, I’ll keep that in mind.

Thanks,

dou


\
 
 \ /
  Last update: 2018-07-19 08:49    [W:1.486 / U:0.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site