OSDN Git Service

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)
commitca6345de57a46ba1bd35bd15b0ceb42e05b3d71f
treee450c78931cf54863f13bc90096f81d2454233a2
parent856deb866d16e29bd65952e0289066f6078af773
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>
arch/sh/include/asm/smp.h