kernel/arch/x86/kernel/tsc_sync.c
.. .. @@ -367,6 +367,8 @@ 367 367 atomic_set(&test_runs, 1); 368 368 else 369 369 atomic_set(&test_runs, 3); 370 +371 + hard_cond_local_irq_disable();370 372 retry: 371 373 /* 372 374 * Wait for the target to start or to skip the test: .. .. @@ -448,6 +450,8 @@ 448 450 if (unsynchronized_tsc()) 449 451 return; 450 452 453 + hard_cond_local_irq_disable();454 +451 455 /* 452 456 * Store, verify and sanitize the TSC adjust register. If 453 457 * successful skip the test.