Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp17516053ybl; Thu, 2 Jan 2020 06:57:55 -0800 (PST) X-Google-Smtp-Source: APXvYqw8BgjM0RmCwTGL14M9qkZAXPfhhZflKYASbBRvJKYbFBzfnbicqKfXJzm/oxOdcpdHg8kB X-Received: by 2002:a05:6830:20c6:: with SMTP id z6mr87585167otq.272.1577977075387; Thu, 02 Jan 2020 06:57:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577977075; cv=none; d=google.com; s=arc-20160816; b=dSTjUSsLDoXtuqOSAbe+Y/g00zyz0+ysJBuz5+uLyF2ol+Taj7XgA/TxwCxfg35JXU oSlQDb8MxCIg+5eewEjfik5TSmXdtWrUfrEM9F2OI6nmR06cqdjtAlk8rMP9Vqgafevf pWPpy1EugHIgLF3+6S6ki0F+cf0teeuLclNYFPKPwUkq2K77eWO+gLC52SMQecoyz2dq WwKaQzkJ8sYZpe0jFHI35glvCJZqwFgl5KT+RT5xOn/vUNZzasFq3a+AnqS83fTG1YOD dKCrXeUiT6dJiRsZ4XOMyOGkpF63tUGqx4xaRJeVa094S/JqtN8WoLwYYR34zh626mvh kayQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=WJwa9x+LkgorslQVsZDuDCLNaqjg2kFywjzbMxdWMGA=; b=pRVLZF20mPfZ2aUrl7DHszKJrrScfqrzncrCylrY1RsaooC+hyijENdt5Qk34X9LVY pbFDR4XjfSPc/LJIe6itE27bR5mxC0v381ti5Tko8vJStugUmO0YT5ut+B4bXCtggDXB HsvxasDUYhzniW86uh4iGLWMfD/CnTT9SPXuXsTmH48KQMG6aFA3i6hzR/KliEby/wSb AuLqhIgdFDwnQtWMIXIMi0DCfadjbzfFa81h2a1u37a/PCBpq7vn26jydISb5aLQxFMK qFW7FP/DiqwS6AMsFdGF3amn3cwPY9WLYd653fDdDhGIq9NLaUe5pk0SwtxjCrmXhAFg /L1A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 185si25344026oie.52.2020.01.02.06.57.43; Thu, 02 Jan 2020 06:57:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728616AbgABO4t (ORCPT + 99 others); Thu, 2 Jan 2020 09:56:49 -0500 Received: from mout.kundenserver.de ([212.227.126.135]:46391 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728544AbgABO4t (ORCPT ); Thu, 2 Jan 2020 09:56:49 -0500 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPA (Nemesis) id 1MD9jV-1iw8he44g5-0095hC; Thu, 02 Jan 2020 15:56:36 +0100 From: Arnd Bergmann To: "James E.J. Bottomley" , "Martin K. Petersen" Cc: Arnd Bergmann , Will Deacon , Catalin Marinas , Mark Rutland , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 01/22] compat: ARM64: always include asm-generic/compat.h Date: Thu, 2 Jan 2020 15:55:19 +0100 Message-Id: <20200102145552.1853992-2-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20200102145552.1853992-1-arnd@arndb.de> References: <20200102145552.1853992-1-arnd@arndb.de> MIME-Version: 1.0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ddSrXYm/E0tJmx6gExd7Mvucg9iD7b/3fxZwNemtwpFhurufR5iW4VPWVvdXFkKJJ 9OIR3cuAtGAlspgdhizLoaeSERk4+1Jh8RPoM8ihV/bMSmJeawuHxZIaqTEEEMGuzqLZ4MGe/ UBr5wHWCiye5ccxLXdmQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In order to use compat_* type defininitions in device drivers outside of CONFIG_COMPAT, move the inclusion of asm-generic/compat.h ahead of the #ifdef. All other architectures already do this. Acked-by: Will Deacon Signed-off-by: Arnd Bergmann --- arch/arm64/include/asm/compat.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm64/include/asm/compat.h b/arch/arm64/include/asm/compat.h index b0d53a265f1d..7b4172ce497c 100644 --- a/arch/arm64/include/asm/compat.h +++ b/arch/arm64/include/asm/compat.h @@ -4,6 +4,9 @@ */ #ifndef __ASM_COMPAT_H #define __ASM_COMPAT_H + +#include + #ifdef CONFIG_COMPAT /* @@ -13,8 +16,6 @@ #include #include -#include - #define COMPAT_USER_HZ 100 #ifdef __AARCH64EB__ #define COMPAT_UTS_MACHINE "armv8b\0\0" -- 2.20.0