Message ID | 1456524418-4006-1-git-send-email-d-gerlach@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 925DD9F1D4 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 26 Feb 2016 22:09:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CB387203E3 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 26 Feb 2016 22:09:09 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0BB22203DB for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 26 Feb 2016 22:09:09 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aZQXu-0007wp-2R; Fri, 26 Feb 2016 22:07:34 +0000 Received: from arroyo.ext.ti.com ([192.94.94.40]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aZQXq-0007it-3J for linux-arm-kernel@lists.infradead.org; Fri, 26 Feb 2016 22:07:30 +0000 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id u1QM6x0W006735; Fri, 26 Feb 2016 16:06:59 -0600 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id u1QM6wDT030951; Fri, 26 Feb 2016 16:06:58 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.224.2; Fri, 26 Feb 2016 16:06:58 -0600 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id u1QM6ws8004998; Fri, 26 Feb 2016 16:06:58 -0600 Received: from localhost (uda0274052.am.dhcp.ti.com [128.247.83.19]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id u1QM6w903504; Fri, 26 Feb 2016 16:06:58 -0600 (CST) From: Dave Gerlach <d-gerlach@ti.com> To: <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, Russell King <linux@arm.linux.org.uk> Subject: [PATCH] ARM: scu: Should include asm/errno.h Date: Fri, 26 Feb 2016 16:06:58 -0600 Message-ID: <1456524418-4006-1-git-send-email-d-gerlach@ti.com> X-Mailer: git-send-email 2.7.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160226_140730_283772_86503619 X-CRM114-Status: UNSURE ( 8.63 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -6.9 (------) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Dan Murphy <dmurphy@ti.com>, Dave Gerlach <d-gerlach@ti.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm/include/asm/smp_scu.h b/arch/arm/include/asm/smp_scu.h index bfe163c40024..e7f39655333a 100644 --- a/arch/arm/include/asm/smp_scu.h +++ b/arch/arm/include/asm/smp_scu.h @@ -8,6 +8,7 @@ #ifndef __ASSEMBLER__ #include <asm/cputype.h> +#include <asm/errno.h> static inline bool scu_a9_has_base(void) {
The stub for scu_power_mode returns -EINVAL if a !CONFIG_SMP build is being done, and because this file can be included in files that are shared between SMP and non-SMP platforms, we must make sure to explicitly include asm/errno.h otherwise the build may fail based on include order. Reported-by: Dan Murphy <dmurphy@ti.com> Signed-off-by: Dave Gerlach <d-gerlach@ti.com> --- arch/arm/include/asm/smp_scu.h | 1 + 1 file changed, 1 insertion(+)