Skip to content

Commit bde4d8b

Browse files
sravnborgdavem330
authored andcommitted
sparc32: fix fallout from system.h removal
Build failures for the typical configs I use Signed-off-by: Sam Ravnborg <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 623ff77 commit bde4d8b

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

arch/sparc/include/asm/ptrace.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ extern unsigned long profile_pc(struct pt_regs *);
241241
#ifndef __ASSEMBLY__
242242

243243
#ifdef __KERNEL__
244+
#include <asm/switch_to.h>
244245

245246
static inline bool pt_regs_is_syscall(struct pt_regs *regs)
246247
{

arch/sparc/kernel/sun4d_smp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include <asm/sbi.h>
1515
#include <asm/mmu.h>
1616
#include <asm/tlbflush.h>
17+
#include <asm/switch_to.h>
1718
#include <asm/cacheflush.h>
1819

1920
#include "kernel.h"

arch/sparc/kernel/sun4m_smp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <linux/cpu.h>
1111

1212
#include <asm/cacheflush.h>
13+
#include <asm/switch_to.h>
1314
#include <asm/tlbflush.h>
1415

1516
#include "irq.h"

0 commit comments

Comments
 (0)