From patchwork Fri Sep 5 15:33:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 4852941 Return-Path: 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 50AF19F2EC for ; Fri, 5 Sep 2014 15:36:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A887420170 for ; Fri, 5 Sep 2014 15:36:39 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 72B802010E for ; Fri, 5 Sep 2014 15:36:38 +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 1XPvXA-0001Jq-1n; Fri, 05 Sep 2014 15:34:44 +0000 Received: from mail-we0-f176.google.com ([74.125.82.176]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XPvWd-0000h4-1h for linux-arm-kernel@lists.infradead.org; Fri, 05 Sep 2014 15:34:11 +0000 Received: by mail-we0-f176.google.com with SMTP id q59so11931664wes.35 for ; Fri, 05 Sep 2014 08:33:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=q8aYf42ovRf5XkA5lRGhtroQ3z+WjHAf0F3nIsSHvtI=; b=a0uPbtdGWx7zJwaZktL9EU6pRXSdB1gOt65h+bVxeHkKL1bavIC49Uxyi7iHaCKyu2 bS9GfYVL5sw/BdifmYbkryX1g1TKrgbtNW6XHSRQ2M/uRwFvpN3UbYLUx/FJ7ZKTxCNp cvljlt07ZaMt4yjTE9KB/fd5PNA0KHYv/pQpxmwuMiz+KhK8+do+Wu0zNtk7VSrIT29D qD1ejhbeMRWRNpDMgDMGJ9PI0mbxG7Dxmht6kmN6wAPX/QgkuGVNMhqUqzz1CxWrW3aa IfI0sxYwfYKtd0Xla0irbjYTU0kclQwPREDBnNI7Qh29wOeoFTnjkMEyo0rg2zTCUPtH OtlQ== X-Gm-Message-State: ALoCoQnNALJtjEwED74+tPICA5Cm3Cr2ZmJLp6BurdiYmIITcJs+4S4bNYKa3XFg9LPsZ6wr4uq7 X-Received: by 10.194.187.101 with SMTP id fr5mr16118505wjc.10.1409931225858; Fri, 05 Sep 2014 08:33:45 -0700 (PDT) Received: from sundance.lan (cpc4-aztw19-0-0-cust157.18-1.cable.virginm.net. [82.33.25.158]) by mx.google.com with ESMTPSA id mz16sm2186860wic.13.2014.09.05.08.33.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Sep 2014 08:33:44 -0700 (PDT) From: Daniel Thompson To: Russell King Subject: [PATCH v2 4/5] arm64: Introduce dummy version of asm/fiq.h Date: Fri, 5 Sep 2014 16:33:17 +0100 Message-Id: <1409931198-22600-5-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1409931198-22600-1-git-send-email-daniel.thompson@linaro.org> References: <1409846620-14542-1-git-send-email-daniel.thompson@linaro.org> <1409931198-22600-1-git-send-email-daniel.thompson@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140905_083411_289423_3BFCFAEB X-CRM114-Status: GOOD ( 10.43 ) X-Spam-Score: -0.7 (/) Cc: Daniel Thompson , linaro-kernel@lists.linaro.org, patches@linaro.org, Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org, John Stultz , Thomas Gleixner , Sumit Semwal , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, 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 Drivers that are shared between arm and arm64 and which employ FIQ on arm cannot include asm/fiq.h without #ifdef'ing. This patch introduces a dummy version of asm/fiq.h to arm64 to avoid this. Signed-off-by: Daniel Thompson Cc: Catalin Marinas Cc: Will Deacon --- arch/arm64/include/asm/fiq.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 arch/arm64/include/asm/fiq.h diff --git a/arch/arm64/include/asm/fiq.h b/arch/arm64/include/asm/fiq.h new file mode 100644 index 0000000..909ec54 --- /dev/null +++ b/arch/arm64/include/asm/fiq.h @@ -0,0 +1,18 @@ +/* + * arch/arm64/include/asm/fiq.h + * + * Placeholder to reduce #ifdef'ing in shared arm/arm64 drivers. + */ + +#ifndef __ASM_FIQ_H +#define __ASM_FIQ_H + +/* + * This placeholder allows code of the following form to be simplified: + * + * #ifdef CONFIG_FIQ + * #include + * #endif + */ + +#endif