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: 37112 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f72.google.com (mail-ee0-f72.google.com [74.125.83.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 144BA20566 for ; Tue, 9 Sep 2014 14:15:31 +0000 (UTC) Received: by mail-ee0-f72.google.com with SMTP id d17sf4411493eek.3 for ; Tue, 09 Sep 2014 07:15:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=vRE7krDuQiAe9vKt1JR4IotW/m+LDdnIJ0oHKEfSuFk=; b=M8XaamuSx6zEqoUj2s0ULzRk7M4BUwrDyE5zdXBKacsASrZ+opRs0+JiZknFH0iGsA 9spOmsq6cIz8l/JwQ5eb8/YyDgOa/qJK1uW7eW/E5FR6ZkMMK+BfWktGICFIW+Tj5UMv 6X3lM7jGHGD6l1A7wmnQvW5xYFB9XHZQYGVGwReB/DuomO403eQJBzcE3Nz1d67kY+s2 v7HKFmOK5Tqk8MJ0ZhzwGwKRUMhy55HdgWa/ZJh/AQlybF3a54A3pNJDWx4QlPFwyATu sOYA5o4MlJnLYC/oZZTEj1lDmAjarppgdFzFOjLgCKTZgbbUBNSBB0hFeF6OjQVqeEuo LjwA== X-Gm-Message-State: ALoCoQlOLZdhRA/XTF5ruuJr9ZOaZV8t8UYCmXKR5Crgo3v0/m8o0BuKx5fqIYI0yrzI+uDfAb2B X-Received: by 10.42.152.201 with SMTP id j9mr22258860icw.5.1410272130946; Tue, 09 Sep 2014 07:15:30 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.40.47 with SMTP id w44ls2152366qgw.95.gmail; Tue, 09 Sep 2014 07:15:30 -0700 (PDT) X-Received: by 10.221.23.66 with SMTP id qz2mr6258552vcb.46.1410272130863; Tue, 09 Sep 2014 07:15:30 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id nu10si5171884vcb.93.2014.09.09.07.15.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Sep 2014 07:15:30 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.181 as permitted sender) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id ij19so3302760vcb.40 for ; Tue, 09 Sep 2014 07:15:30 -0700 (PDT) X-Received: by 10.220.187.134 with SMTP id cw6mr786936vcb.71.1410272130725; Tue, 09 Sep 2014 07:15:30 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp290822vcb; Tue, 9 Sep 2014 07:15:30 -0700 (PDT) X-Received: by 10.180.149.169 with SMTP id ub9mr30771765wib.32.1410272129577; Tue, 09 Sep 2014 07:15:29 -0700 (PDT) Received: from mail-we0-f170.google.com (mail-we0-f170.google.com [74.125.82.170]) by mx.google.com with ESMTPS id x16si18490592wia.7.2014.09.09.07.15.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Sep 2014 07:15:29 -0700 (PDT) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 74.125.82.170 as permitted sender) client-ip=74.125.82.170; Received: by mail-we0-f170.google.com with SMTP id u57so3935681wes.29 for ; Tue, 09 Sep 2014 07:15:29 -0700 (PDT) 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 Cc: Daniel Thompson , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, patches@linaro.org, linaro-kernel@lists.linaro.org, John Stultz , Thomas Gleixner , Sumit Semwal , Catalin Marinas , Will Deacon 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-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.thompson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.181 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 + */