From patchwork Thu Sep 4 16:03:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 4846921 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 005EA9F390 for ; Thu, 4 Sep 2014 16:08:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6CE3820251 for ; Thu, 4 Sep 2014 16:08:35 +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 A7C9520268 for ; Thu, 4 Sep 2014 16:08:29 +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 1XPZWg-0008Uz-In; Thu, 04 Sep 2014 16:04:46 +0000 Received: from mail-wi0-f170.google.com ([209.85.212.170]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XPZWI-0008A4-HH for linux-arm-kernel@lists.infradead.org; Thu, 04 Sep 2014 16:04:23 +0000 Received: by mail-wi0-f170.google.com with SMTP id cc10so7845333wib.3 for ; Thu, 04 Sep 2014 09:04:00 -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=kLJKCh2kJbPgNUlwQGgkdUJWkVgGC6ukyusIGZ0+E7PRHTWEavmJwTJ4MaM8nnpQSB BFXp1cvVT/jH8C7k7mMtro0fhCbpyDVB2ZT1V9qV6IZXxV46/QcvFn6Q+pSZVYWKBRRt ZJuaV501NqPAEbiqMtoFJCMsukMgrmLLwg6/Lv242FJn/lAW/Mw0qjnGq1/nBKLvAGjT LoXvxEhNVVf6jKzt5DBSZdjaTZvsVfS5TeAgbimUwGY88OsscAxMUNdclbNcPxt7YU/A pOtyBC7btLAymXmR+yar5wBhvYZzMX/+hFNtv0U3MFxRb8NF1tHBH8S4PPj8eqV9EprD 3nHg== X-Gm-Message-State: ALoCoQlM0D7z5e6EjEjg029yVPhnv/Vptb/KKrMMk/rvACM4ee8RdKwJ3r7dQhJg/uCQAQqYrKPe X-Received: by 10.194.222.138 with SMTP id qm10mr7093688wjc.25.1409846640034; Thu, 04 Sep 2014 09:04:00 -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 m9sm19841199wjz.35.2014.09.04.09.03.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Sep 2014 09:03:59 -0700 (PDT) From: Daniel Thompson To: Russell King Subject: [PATCH v1 3/6] arm64: Introduce dummy version of asm/fiq.h Date: Thu, 4 Sep 2014 17:03:37 +0100 Message-Id: <1409846620-14542-4-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1409846620-14542-1-git-send-email-daniel.thompson@linaro.org> References: <1409662853-29313-1-git-send-email-daniel.thompson@linaro.org> <1409846620-14542-1-git-send-email-daniel.thompson@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140904_090422_727386_7005951C X-CRM114-Status: GOOD ( 10.67 ) 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.5 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