From patchwork Mon Sep 8 15:28:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 37006 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f199.google.com (mail-ie0-f199.google.com [209.85.223.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3316520491 for ; Mon, 8 Sep 2014 15:29:03 +0000 (UTC) Received: by mail-ie0-f199.google.com with SMTP id rl12sf12101285iec.10 for ; Mon, 08 Sep 2014 08:29:02 -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=Mpm77GUct1Otwl/u8wQr1QIVvgm2cnz+gnRsDfevL/i2EQXqvwhYx5on/BOtzzTUf+ mEBhxQc/Z3PvENSJe61vTD6i9hVKJGh+VCLzVm4a/gjEzIoM8eZmA6fDtHZ06ScnFX6n B9/BoXDLk4xFke861ySHUruscNW6g2JvUobGgc27/Kz9lNp4zxDw7F1VyARMHUqNaGyb Wq/BZ27Qd4PxDApjsGDmy//nUWMIrkCxXE11uXj1thTbjwkJdScjthuUrGF3xk3FX+lt kt3uw8tuPGe/w3PtS3DN+pTTbPr9N4CiH8HP2Zeuy6LBU2cC4IhNw3eXhbdSOUfOiX/x XtQg== X-Gm-Message-State: ALoCoQmGYE6tqvdh0vI/t5SsrQVbrv47rcdNVixu2dPEMpqlZ6JZGpvPRK39LilzAdG1WcOyv7U9 X-Received: by 10.182.45.162 with SMTP id o2mr18526596obm.20.1410190142768; Mon, 08 Sep 2014 08:29:02 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.91.164 with SMTP id z33ls179936qgd.99.gmail; Mon, 08 Sep 2014 08:29:02 -0700 (PDT) X-Received: by 10.52.136.196 with SMTP id qc4mr21548740vdb.22.1410190142686; Mon, 08 Sep 2014 08:29:02 -0700 (PDT) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id x5si2496388vdv.2.2014.09.08.08.29.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Sep 2014 08:29:02 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.177 as permitted sender) client-ip=209.85.220.177; Received: by mail-vc0-f177.google.com with SMTP id hq11so15499021vcb.36 for ; Mon, 08 Sep 2014 08:29:02 -0700 (PDT) X-Received: by 10.220.175.17 with SMTP id v17mr25834552vcz.0.1410190142619; Mon, 08 Sep 2014 08:29:02 -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 uj3csp150936vcb; Mon, 8 Sep 2014 08:29:02 -0700 (PDT) X-Received: by 10.180.149.244 with SMTP id ud20mr23278998wib.55.1410190141696; Mon, 08 Sep 2014 08:29:01 -0700 (PDT) Received: from mail-we0-f172.google.com (mail-we0-f172.google.com [74.125.82.172]) by mx.google.com with ESMTPS id dj6si14353784wib.105.2014.09.08.08.29.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Sep 2014 08:29:01 -0700 (PDT) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 74.125.82.172 as permitted sender) client-ip=74.125.82.172; Received: by mail-we0-f172.google.com with SMTP id k48so128641wev.3 for ; Mon, 08 Sep 2014 08:29:01 -0700 (PDT) X-Received: by 10.180.10.230 with SMTP id l6mr23175286wib.62.1410190141296; Mon, 08 Sep 2014 08:29:01 -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 xm4sm12120613wib.9.2014.09.08.08.28.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Sep 2014 08:29:00 -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 v3 4/5] arm64: Introduce dummy version of asm/fiq.h Date: Mon, 8 Sep 2014 16:28:34 +0100 Message-Id: <1410190115-32604-5-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1410190115-32604-1-git-send-email-daniel.thompson@linaro.org> References: <1409931198-22600-1-git-send-email-daniel.thompson@linaro.org> <1410190115-32604-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.177 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 + */