Skip to content

Commit 28e5bfd

Browse files
author
Peter Zijlstra
committed
s390: Break cyclic percpu include
In order to use <asm/percpu.h> in irqflags.h, we need to make sure asm/percpu.h does not itself depend on irqflags.h Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Ingo Molnar <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent d6bdceb commit 28e5bfd

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

arch/s390/include/asm/smp.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
#include <asm/sigp.h>
1212
#include <asm/lowcore.h>
13+
#include <asm/processor.h>
1314

1415
#define raw_smp_processor_id() (S390_lowcore.cpu_nr)
1516

arch/s390/include/asm/thread_info.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef __ASSEMBLY__
2525
#include <asm/lowcore.h>
2626
#include <asm/page.h>
27-
#include <asm/processor.h>
2827

2928
#define STACK_INIT_OFFSET \
3029
(THREAD_SIZE - STACK_FRAME_OVERHEAD - sizeof(struct pt_regs))

0 commit comments

Comments
 (0)