]> git.baikalelectronics.ru Git - kernel.git/commit
sh: remove spurious circular inclusion from asm/smp.h
authorRich Felker <dalias@libc.org>
Wed, 2 Sep 2020 17:40:17 +0000 (13:40 -0400)
committerRich Felker <dalias@libc.org>
Mon, 14 Sep 2020 01:11:40 +0000 (21:11 -0400)
commit7794b0a631c6ab076c20252b611008203fe3fb6c
treee450c78931cf54863f13bc90096f81d2454233a2
parent7da1f2558b72353f4a26d78707b272213de86926
sh: remove spurious circular inclusion from asm/smp.h

Commit 7034cd381b5e53c1 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: 7034cd381b5e53c1 ("locking/seqlock, headers: Untangle the spaghetti monster")
Tested-by: Rob Landley <rob@landley.net>
Signed-off-by: Rich Felker <dalias@libc.org>
arch/sh/include/asm/smp.h