summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRich Felker <dalias@libc.org>2020-09-02 19:40:17 +0200
committerRich Felker <dalias@libc.org>2020-09-14 03:11:40 +0200
commitca6345de57a46ba1bd35bd15b0ceb42e05b3d71f (patch)
treee450c78931cf54863f13bc90096f81d2454233a2
parentLinux 5.9-rc5 (diff)
downloadlinux-ca6345de57a46ba1bd35bd15b0ceb42e05b3d71f.tar.xz
linux-ca6345de57a46ba1bd35bd15b0ceb42e05b3d71f.zip
sh: remove spurious circular inclusion from asm/smp.h
Commit 0cd39f4600ed4de8 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: 0cd39f4600ed4de8 ("locking/seqlock, headers: Untangle the spaghetti monster") Tested-by: Rob Landley <rob@landley.net> Signed-off-by: Rich Felker <dalias@libc.org>
-rw-r--r--arch/sh/include/asm/smp.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/sh/include/asm/smp.h b/arch/sh/include/asm/smp.h
index 1a0d7cf71c10..100bf241340b 100644
--- a/arch/sh/include/asm/smp.h
+++ b/arch/sh/include/asm/smp.h
@@ -8,7 +8,6 @@
#ifdef CONFIG_SMP
-#include <linux/spinlock.h>
#include <linux/atomic.h>
#include <asm/current.h>
#include <asm/percpu.h>