Skip to content

Commit de308d1

Browse files
committed
x86/apic: Make TSC deadline timer detection message visible
The commit c84cb37 ("x86/apic: Move TSC deadline timer debug printk") removed the message which said that the deadline timer was enabled. It added a pr_debug() message which is issued when deadline timer validation succeeds. Well, issued only when CONFIG_DYNAMIC_DEBUG is enabled - otherwise pr_debug() calls get optimized away if DEBUG is not defined in the compilation unit. Therefore, make the above message pr_info() so that it is visible in dmesg. Signed-off-by: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 9cb1fd0 commit de308d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kernel/apic/apic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2093,7 +2093,7 @@ void __init init_apic_mappings(void)
20932093
unsigned int new_apicid;
20942094

20952095
if (apic_validate_deadline_timer())
2096-
pr_debug("TSC deadline timer available\n");
2096+
pr_info("TSC deadline timer available\n");
20972097

20982098
if (x2apic_mode) {
20992099
boot_cpu_physical_apicid = read_apic_id();

0 commit comments

Comments
 (0)