From patchwork Sun Sep 14 11:57:12 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 4901241 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 231639F32F for ; Sun, 14 Sep 2014 11:58:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 91CA12020E for ; Sun, 14 Sep 2014 12:01:42 +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 D709220114 for ; Sun, 14 Sep 2014 12:01:41 +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 1XT8TF-0004LJ-Dd; Sun, 14 Sep 2014 11:59:57 +0000 Received: from mail-wi0-f176.google.com ([209.85.212.176]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XT8T2-00049D-GD for linux-arm-kernel@lists.infradead.org; Sun, 14 Sep 2014 11:59:45 +0000 Received: by mail-wi0-f176.google.com with SMTP id ex7so2815626wid.3 for ; Sun, 14 Sep 2014 04:59:22 -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=vRE7krDuQiAe9vKt1JR4IotW/m+LDdnIJ0oHKEfSuFk=; b=m2CoOmS04ZkDl/HZtVZHf+tMAxY5jyvZEKu26OcgyFtI3soHYbJbc/VWLUN4cI//7+ 4OXI1RnD2WMCwKmG/+7XG0G0ILMIaj3omY8flMEG6/sAkwfsYdLzm/VRftEOIJQy6bHS Uj0vv/mtYqVL3EZmwvhJ+0VrDIKkIVb5uhatXFHN0W7G4VeO5pvXf1V3fkIqakS6M4+E kn4kzTFSfOmm77ulGUVrEzkcfH1Uxk6Vc2JS82h5xCvGSLqMNWhbE6q0JzqNZ5wnKQxA dMUf3TqWulXaBLaGdOq64F++jPCnrF8XZTSxYlEMJetqwSO5vQGTQ8MdnOaL6QEhRud/ n36w== X-Gm-Message-State: ALoCoQmaVIUMXrG7YECX2TBKZNPmedJYye/eSfdy0XxqD4ja8GDrRQVH7vwPty2XBD5vz0DOLkJh X-Received: by 10.194.143.69 with SMTP id sc5mr25029680wjb.26.1410695962166; Sun, 14 Sep 2014 04:59:22 -0700 (PDT) Received: from harvey.bri.st.com ([212.183.140.14]) by mx.google.com with ESMTPSA id fh5sm7947027wib.5.2014.09.14.04.59.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Sep 2014 04:59:21 -0700 (PDT) From: Daniel Thompson To: Russell King Subject: [PATCH 3.17-rc4 v6 3/6] arm64: Introduce dummy version of asm/fiq.h Date: Sun, 14 Sep 2014 12:57:12 +0100 Message-Id: <1410695835-10496-4-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1410695835-10496-1-git-send-email-daniel.thompson@linaro.org> References: <1410695835-10496-1-git-send-email-daniel.thompson@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140914_045944_701121_663AB6F5 X-CRM114-Status: GOOD ( 10.90 ) 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=-2.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=no 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 | 8 ++++++++ 1 file changed, 8 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..d3776b8 --- /dev/null +++ b/arch/arm64/include/asm/fiq.h @@ -0,0 +1,8 @@ +/* + * Placeholder to reduce #ifdef'ing in shared arm/arm64 drivers. It + * allows code of the following form to be made unconditional. + * + * #ifdef CONFIG_FIQ + * #include + * #endif + */