Skip to content

Commit 036cbba

Browse files
Alexander GordeevIngo Molnar
authored andcommitted
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 <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Acked-by: Heiko Carstens <[email protected]> Link: https://lore.kernel.org/r/3fb696637c0eb7e9d6ffd6cbf9e647d7c5986b3d.1712760275.git.agordeev@linux.ibm.com
1 parent 60b8edb commit 036cbba

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

arch/s390/kernel/irq.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#include <asm/hw_irq.h>
3030
#include <asm/stacktrace.h>
3131
#include <asm/softirq_stack.h>
32+
#include <asm/vtime.h>
3233
#include "entry.h"
3334

3435
DEFINE_PER_CPU_SHARED_ALIGNED(struct irq_stat, irq_stat);

arch/s390/kernel/nmi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
#include <asm/crw.h>
3232
#include <asm/asm-offsets.h>
3333
#include <asm/pai.h>
34+
#include <asm/vtime.h>
3435

3536
struct mcck_struct {
3637
unsigned int kill_task : 1;

0 commit comments

Comments
 (0)