From patchwork Thu Sep 10 14:19:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rich Felker X-Patchwork-Id: 11768027 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 11FF9618 for ; Thu, 10 Sep 2020 14:53:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F2CBE20720 for ; Thu, 10 Sep 2020 14:53:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731177AbgIJOxD (ORCPT ); Thu, 10 Sep 2020 10:53:03 -0400 Received: from brightrain.aerifal.cx ([216.12.86.13]:52366 "EHLO brightrain.aerifal.cx" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730434AbgIJOuq (ORCPT ); Thu, 10 Sep 2020 10:50:46 -0400 Date: Thu, 10 Sep 2020 10:19:36 -0400 From: Rich Felker To: linux-sh@vger.kernel.org Cc: John Paul Adrian Glaubitz , Rob Landley , linux-kernel@vger.kernel.org, Yoshinori Sato Subject: [PATCH] sh: remove spurious circular inclusion from asm/smp.h Message-ID: <20200910141934.GF3265@brightrain.aerifal.cx> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org 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") Signed-off-by: Rich Felker --- arch/sh/include/asm/smp.h | 1 - 1 file changed, 1 deletion(-) 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 #include #include #include