Skip to content

Commit ca6345d

Browse files
author
Rich Felker
committed
sh: remove spurious circular inclusion from asm/smp.h
Commit 0cd39f4 added inclusion of smp.h to lockdep.h, creating a circular include dependency where arch/sh's asm/smp.h in turn includes spinlock.h which depends on lockdep.h. Since our asm/smp.h does not actually need spinlock.h, just remove it. Fixes: 0cd39f4 ("locking/seqlock, headers: Untangle the spaghetti monster") Tested-by: Rob Landley <rob@landley.net> Signed-off-by: Rich Felker <dalias@libc.org>
1 parent 856deb8 commit ca6345d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎arch/sh/include/asm/smp.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
#ifdef CONFIG_SMP
1010

11-
#include <linux/spinlock.h>
1211
#include <linux/atomic.h>
1312
#include <asm/current.h>
1413
#include <asm/percpu.h>

0 commit comments

Comments
 (0)