From patchwork Thu Sep 4 16:03:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 36731 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f199.google.com (mail-pd0-f199.google.com [209.85.192.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 13D71202E4 for ; Thu, 4 Sep 2014 16:04:07 +0000 (UTC) Received: by mail-pd0-f199.google.com with SMTP id v10sf2476294pde.10 for ; Thu, 04 Sep 2014 09:04:04 -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=kKWT1P3TVhHQEaKn+QWjQCCxuDeqZ2VGbPSiAZzyVr24UlBu9Ze38IqbbJizB+JKOU mLdtdopCyfLa1sU5MQGvcWKdpypD8tHS5kioxUHv6tYPOoi/zq8qJfQ1WBjtgSV+rRyC 4qxQ4aZxZVpYGLACCA8diEMocKTjnAWkrXLJm1wjkWeT3MOm3rWwnnAxt0ojkzp0CFjR yE5HXPQ2TAtZNR1t5cVd/lZhV/XIHbPqgMDe6DizlPgPa8WbFA9ixII7iqu9PkwrZzrH lpP0KX8VNJd80aGKel3EQGizTJ2nl9vXOX9KcXUufRKP11Aps3bmdN32/7S9XxRVaHtP U9aQ== X-Gm-Message-State: ALoCoQndTOA/1JlXwDfcOi8AXoGERSNJs4vWD5hDjpn1rIJVqQIuY8NLjeMBFzrw22d5RUdjGUzS X-Received: by 10.66.168.197 with SMTP id zy5mr2856021pab.7.1409846643328; Thu, 04 Sep 2014 09:04:03 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.104.130 with SMTP id a2ls324494qgf.90.gmail; Thu, 04 Sep 2014 09:04:03 -0700 (PDT) X-Received: by 10.220.97.5 with SMTP id j5mr5146718vcn.16.1409846643104; Thu, 04 Sep 2014 09:04:03 -0700 (PDT) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPS id eb1si3270281vdc.17.2014.09.04.09.04.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 04 Sep 2014 09:04:02 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.179 as permitted sender) client-ip=209.85.220.179; Received: by mail-vc0-f179.google.com with SMTP id hy4so10839631vcb.38 for ; Thu, 04 Sep 2014 09:04:02 -0700 (PDT) X-Received: by 10.220.187.134 with SMTP id cw6mr2418237vcb.71.1409846642768; Thu, 04 Sep 2014 09:04: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 uj3csp861263vcb; Thu, 4 Sep 2014 09:04:02 -0700 (PDT) X-Received: by 10.180.92.225 with SMTP id cp1mr7037251wib.5.1409846641717; Thu, 04 Sep 2014 09:04:01 -0700 (PDT) Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by mx.google.com with ESMTPS id o2si17446839wjx.31.2014.09.04.09.04.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 04 Sep 2014 09:04:00 -0700 (PDT) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 209.85.212.181 as permitted sender) client-ip=209.85.212.181; Received: by mail-wi0-f181.google.com with SMTP id e4so1419882wiv.8 for ; Thu, 04 Sep 2014 09:04:00 -0700 (PDT) X-Received: by 10.194.222.138 with SMTP id qm10mr7093688wjc.25.1409846640034; Thu, 04 Sep 2014 09:04:00 -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 m9sm19841199wjz.35.2014.09.04.09.03.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Sep 2014 09:03:59 -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 v1 3/6] arm64: Introduce dummy version of asm/fiq.h Date: Thu, 4 Sep 2014 17:03:37 +0100 Message-Id: <1409846620-14542-4-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1409846620-14542-1-git-send-email-daniel.thompson@linaro.org> References: <1409662853-29313-1-git-send-email-daniel.thompson@linaro.org> <1409846620-14542-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.179 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