File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -455,17 +455,17 @@ static void print_cpustat(void)
455
455
{
456
456
int i , group ;
457
457
u8 tail = __this_cpu_read (cpustat_tail );
458
- u64 sample_period_second = sample_period ;
458
+ u64 sample_period_msecond = sample_period ;
459
459
460
- do_div (sample_period_second , NSEC_PER_SEC );
460
+ do_div (sample_period_msecond , NSEC_PER_MSEC );
461
461
462
462
/*
463
463
* Outputting the "watchdog" prefix on every line is redundant and not
464
464
* concise, and the original alarm information is sufficient for
465
465
* positioning in logs, hence here printk() is used instead of pr_crit().
466
466
*/
467
- printk (KERN_CRIT "CPU#%d Utilization every %llus during lockup:\n" ,
468
- smp_processor_id (), sample_period_second );
467
+ printk (KERN_CRIT "CPU#%d Utilization every %llums during lockup:\n" ,
468
+ smp_processor_id (), sample_period_msecond );
469
469
470
470
for (i = 0 ; i < NUM_SAMPLE_PERIODS ; i ++ ) {
471
471
group = (tail + i ) % NUM_SAMPLE_PERIODS ;
You can’t perform that action at this time.
0 commit comments