s390/irq,nmi: Include <asm/vtime.h> header directly
authorAlexander Gordeev <agordeev@linux.ibm.com>
Wed, 10 Apr 2024 15:09:47 +0000 (17:09 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 17 Apr 2024 11:37:22 +0000 (13:37 +0200)
update_timer_sys() and update_timer_mcck() are inlines used for
CPU time accounting from the interrupt and machine-check handlers.
These routines are specific to s390 architecture, but included
via <linux/vtime.h> header implicitly. Avoid the extra loop and
include <asm/vtime.h> header directly.

Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Link: https://lore.kernel.org/r/3fb696637c0eb7e9d6ffd6cbf9e647d7c5986b3d.1712760275.git.agordeev@linux.ibm.com
arch/s390/kernel/irq.c
arch/s390/kernel/nmi.c

index 6f71b0ce1068c4c4168d4e94892603b9ee3cf3a1..259496fe0ef9fd1d260720624b2b753d024397b1 100644 (file)
@@ -29,6 +29,7 @@
 #include <asm/hw_irq.h>
 #include <asm/stacktrace.h>
 #include <asm/softirq_stack.h>
+#include <asm/vtime.h>
 #include "entry.h"
 
 DEFINE_PER_CPU_SHARED_ALIGNED(struct irq_stat, irq_stat);
index c77382a673257abcdae4c64fe03a94f0aedfb0f0..230d010bac9b3c87abd360b6c37dbe7644107d36 100644 (file)
@@ -31,6 +31,7 @@
 #include <asm/crw.h>
 #include <asm/asm-offsets.h>
 #include <asm/pai.h>
+#include <asm/vtime.h>
 
 struct mcck_struct {
        unsigned int kill_task : 1;