Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

s390/irq,nmi: Include <asm/vtime.h> header directly

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

authored by

Alexander Gordeev and committed by
Ingo Molnar
036cbbaf 60b8edba

+2
+1
arch/s390/kernel/irq.c
··· 29 29 #include <asm/hw_irq.h> 30 30 #include <asm/stacktrace.h> 31 31 #include <asm/softirq_stack.h> 32 + #include <asm/vtime.h> 32 33 #include "entry.h" 33 34 34 35 DEFINE_PER_CPU_SHARED_ALIGNED(struct irq_stat, irq_stat);
+1
arch/s390/kernel/nmi.c
··· 31 31 #include <asm/crw.h> 32 32 #include <asm/asm-offsets.h> 33 33 #include <asm/pai.h> 34 + #include <asm/vtime.h> 34 35 35 36 struct mcck_struct { 36 37 unsigned int kill_task : 1;