From patchwork Fri Sep 5 15:33:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 36862 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f197.google.com (mail-ie0-f197.google.com [209.85.223.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8DA8A202E4 for ; Fri, 5 Sep 2014 15:33:48 +0000 (UTC) Received: by mail-ie0-f197.google.com with SMTP id rp18sf58934400iec.0 for ; Fri, 05 Sep 2014 08:33:48 -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=q8aYf42ovRf5XkA5lRGhtroQ3z+WjHAf0F3nIsSHvtI=; b=g9WpdJNgUWH89HsYKVlo+UFNVhlJ1wbohw3ygWqCX7JFaQvyYyDXXayQgM2oQ3lIK8 +kGbpAMvEKDbdnWm1YswryGKzi0JhFhxZp1lAimJadEXw6k3ij2tPdrc9AAJaC0alRvF rvMLwmi0MpcdPk91Bsq2C+t71B7WWbJ+lAFXF1JYe+zmH+2bkpKXk+/GSMbkffLZYn0/ mK7HFctsfYX26kEttlc1bezCPwxLUL16OKL05LiJIIiuGZOKDypMR1zYfg8/rBk2LzWW cf9h4wq/EfCsIsw+HErGMYyEssLQ78pbvjyWpSzuh699+fonMqzRRDpXIOw3LLO7sFe5 kj8Q== X-Gm-Message-State: ALoCoQkUgBIt4qdF5DnCUr67e8u+FX2Vlly5sgZCphKuxXTlO+OwnJ9aDmUeHFyd8sK/oRowmH1r X-Received: by 10.182.18.8 with SMTP id s8mr6761285obd.21.1409931228207; Fri, 05 Sep 2014 08:33:48 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.83.230 with SMTP id j93ls772761qgd.40.gmail; Fri, 05 Sep 2014 08:33:48 -0700 (PDT) X-Received: by 10.221.31.9 with SMTP id se9mr1741795vcb.69.1409931228070; Fri, 05 Sep 2014 08:33:48 -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 bv6si1603950vdb.50.2014.09.05.08.33.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 05 Sep 2014 08:33:48 -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 hq11so12314193vcb.22 for ; Fri, 05 Sep 2014 08:33:48 -0700 (PDT) X-Received: by 10.52.129.165 with SMTP id nx5mr8677904vdb.25.1409931227946; Fri, 05 Sep 2014 08:33:47 -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 uj3csp100104vcb; Fri, 5 Sep 2014 08:33:47 -0700 (PDT) X-Received: by 10.181.13.175 with SMTP id ez15mr4630139wid.59.1409931226353; Fri, 05 Sep 2014 08:33:46 -0700 (PDT) Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by mx.google.com with ESMTPS id h4si3986751wie.67.2014.09.05.08.33.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 05 Sep 2014 08:33:46 -0700 (PDT) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 209.85.212.169 as permitted sender) client-ip=209.85.212.169; Received: by mail-wi0-f169.google.com with SMTP id n3so972519wiv.2 for ; Fri, 05 Sep 2014 08:33:46 -0700 (PDT) X-Received: by 10.194.187.101 with SMTP id fr5mr16118505wjc.10.1409931225858; Fri, 05 Sep 2014 08:33:45 -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 mz16sm2186860wic.13.2014.09.05.08.33.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Sep 2014 08:33:44 -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 v2 4/5] arm64: Introduce dummy version of asm/fiq.h Date: Fri, 5 Sep 2014 16:33:17 +0100 Message-Id: <1409931198-22600-5-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1409931198-22600-1-git-send-email-daniel.thompson@linaro.org> References: <1409846620-14542-1-git-send-email-daniel.thompson@linaro.org> <1409931198-22600-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 | 18 ++++++++++++++++++ 1 file changed, 18 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..909ec54 --- /dev/null +++ b/arch/arm64/include/asm/fiq.h @@ -0,0 +1,18 @@ +/* + * arch/arm64/include/asm/fiq.h + * + * Placeholder to reduce #ifdef'ing in shared arm/arm64 drivers. + */ + +#ifndef __ASM_FIQ_H +#define __ASM_FIQ_H + +/* + * This placeholder allows code of the following form to be simplified: + * + * #ifdef CONFIG_FIQ + * #include + * #endif + */ + +#endif