From patchwork Tue Sep 9 14:15:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 4870131 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4AEB1C0338 for ; Tue, 9 Sep 2014 14:18:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1AB6F20149 for ; Tue, 9 Sep 2014 14:18:33 +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 D95F720176 for ; Tue, 9 Sep 2014 14:18:31 +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 1XRMDZ-0006Dl-Jr; Tue, 09 Sep 2014 14:16:25 +0000 Received: from mail-we0-f169.google.com ([74.125.82.169]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XRMD3-0005oL-2o for linux-arm-kernel@lists.infradead.org; Tue, 09 Sep 2014 14:15:54 +0000 Received: by mail-we0-f169.google.com with SMTP id w61so2307697wes.14 for ; Tue, 09 Sep 2014 07:15:29 -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=a/5TsuVUtWcj+fMMR7CGAsc3pZLFt+HC66lh6icNDemUTDazlyQnweCQsDwjYcD4yN iiA2Y2wGTEw2qxCuPxyuflBBJs8l3iJfYX4tnrM4V4rzQh5wlF6eAT9G4QqeacQ/gmEr swgV3jX6o+oG6wC4zIg2R6mHtZfBOwMKwkV3AZY0lh0YhJw0AZWoBdEDC3r7UrgVHvAL OU83wZZQqYSsG05JJdiLpevZxj9+aPy5GN270BkWlG1JpGmMcDpH4Sk2atbSqVK+JeCG CE0RworJmmtWyI+AEDFfQouK/4ndg5o2u+FuxjsN4hAmxjqlo2vMWUnWTcm80sA/mVqY TjPw== X-Gm-Message-State: ALoCoQlKq99WtDgrjrcAEGuEZdRS7lc59GL9nSl91W5+xS3Mkyo3ZhbYyPdI+XH4aVouOtcI9qBJ X-Received: by 10.194.3.106 with SMTP id b10mr42332894wjb.3.1410272129150; Tue, 09 Sep 2014 07:15:29 -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 k10sm15059594wjb.28.2014.09.09.07.15.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Sep 2014 07:15:28 -0700 (PDT) From: Daniel Thompson To: Russell King Subject: [PATCH v4 3/6] arm64: Introduce dummy version of asm/fiq.h Date: Tue, 9 Sep 2014 15:15:08 +0100 Message-Id: <1410272111-30516-4-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1410272111-30516-1-git-send-email-daniel.thompson@linaro.org> References: <1410190115-32604-1-git-send-email-daniel.thompson@linaro.org> <1410272111-30516-1-git-send-email-daniel.thompson@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140909_071553_310432_F442F86A X-CRM114-Status: GOOD ( 11.12 ) 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=-4.4 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 | 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 + */