From patchwork Wed Sep 17 16:10:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 4925271 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 87844BEEA5 for ; Wed, 17 Sep 2014 16:13:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 608E22015D for ; Wed, 17 Sep 2014 16:13:03 +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 2FD8A20114 for ; Wed, 17 Sep 2014 16:13:02 +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 1XUHok-0004qF-N8; Wed, 17 Sep 2014 16:10:54 +0000 Received: from mail-pa0-f50.google.com ([209.85.220.50]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XUHoZ-0004XW-SE for linux-arm-kernel@lists.infradead.org; Wed, 17 Sep 2014 16:10:45 +0000 Received: by mail-pa0-f50.google.com with SMTP id eu11so1016057pac.23 for ; Wed, 17 Sep 2014 09:10:25 -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=OZ2fVj+0kFRCoPFJ1kkknr0vRT1lwFOMQmMN1knU1RHEfuBbAKGbtnCtI4oQMzIsV8 cUM98vqwsly7p4744uVSosif2RLZRQ+0dD9L9KpvyGmiWIphKE6wCmuruC33F6U6z4ZW 0AY3TBxwE9aOpDsCR7s7axi7S+g88PakEAxRCbRC7qjq6o6NzqhN2B+YUz53DfgrPkBh GuGYVLZmmG2244k7LggXiL2fEyrZEuRq1vND/DJJ0jDoKDH3gBEwAqNOZDbTRUYBu9kF /jSXKrzLryiP7WH8o0VIPI06wacenbYJLVdl4RN9SQaNJLkg+a25Nziv2u+oLg3CgriV 6JOA== X-Gm-Message-State: ALoCoQkSYghq2eU8G5vbITxtTQNQlM+wMKLbvGOF1WPF1YFl9qSKPAGk2kCz1JBGeAH0PzRoai5f X-Received: by 10.70.126.9 with SMTP id mu9mr8592763pdb.151.1410970225751; Wed, 17 Sep 2014 09:10:25 -0700 (PDT) Received: from harvey.bri.st.com ([38.126.120.10]) by mx.google.com with ESMTPSA id pd7sm17841758pac.33.2014.09.17.09.10.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Sep 2014 09:10:25 -0700 (PDT) From: Daniel Thompson To: Russell King Subject: [PATCH 3.17-rc4 v7 3/6] arm64: Introduce dummy version of asm/fiq.h Date: Wed, 17 Sep 2014 09:10:15 -0700 Message-Id: <1410970218-28847-4-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1410970218-28847-1-git-send-email-daniel.thompson@linaro.org> References: <1410970218-28847-1-git-send-email-daniel.thompson@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140917_091043_934973_E02BC019 X-CRM114-Status: GOOD ( 10.71 ) 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.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 Acked-by: Catalin Marinas --- 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 + */