From patchwork Wed Dec 11 20:42:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 181315 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp1041868ile; Wed, 11 Dec 2019 12:45:32 -0800 (PST) X-Google-Smtp-Source: APXvYqySqtZIrVMBe4Ealt9OIpACodemmlF4IoycCQEKZB4kzESRcVplyMboLUhJpeGX/NyJ/Mln X-Received: by 2002:a9d:39a5:: with SMTP id y34mr3627967otb.146.1576097132852; Wed, 11 Dec 2019 12:45:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576097132; cv=none; d=google.com; s=arc-20160816; b=yV4NEygfF9Apsm2Di6pqjQ4ijRGyBTVlr69KFO6CJ/8muDQqfRoauXbUSUHxDmRSRy TuXIwA/tMhPNb4JbPjC4diSmkIkZOeQOfxNoNc3lP1jJb05k1XjndTahDnM2X4iQGeUR QKHJjRTjSOqTHkxbq+S9VqATPWbuEzDJop/T6kHI/pD4dJ3U85O/myQNexm3pxZ9jzLR 4ZjCmfq9zmiBRgA6rnjYpYTYvGB+3jAWdIRRQL6R2bkKE7zWiYt+eidDOOa6ETLkvAFk wJpErQU7Y261Og6uLsxmjldeLIsLuV5AK4RzXOVGjE5GVKbW0y1pqEGn7tDDJAyxfdVm VScA== 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=mK6Xfbo1V2hpB+m0R8ORXIdoEzu2hwjVARUBZgQ0crA=; b=xe8ETGNzgDhRm2IlQKNeCpACZeXAqnUI78ugLZ42XI5FWq5sg2sDuuKH9R3/Sgqgs3 9cCvSR2B8rlhj9ywqS2AU5THn+vs7Gu0suNYBx2EaPNf8LB5D0KJk1VVcEe4YAJXOoBE UrG7XRl719NBfrFCFAFIEjb0ZuU0gSMEsVz/w8vX/r5QYrP9boL+mpab6N2YXcAtlaAK pRG6gF2QvKrYneA/ifkeMh1rEfXoSZTOrXEiBT+dUCpWJtAIkVR0QoHHtvTsXM2qOhm9 QgpXd4vDarmAwFHemhmaRwjMXvWbLgEPFCd7sxNKLOsDyhEUfLlTxwLa8oG3F18Mn7HP 5Bhw== 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 c6si1787061oto.283.2019.12.11.12.45.32; Wed, 11 Dec 2019 12:45:32 -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 S1726613AbfLKUp1 (ORCPT + 27 others); Wed, 11 Dec 2019 15:45:27 -0500 Received: from mout.kundenserver.de ([212.227.17.10]:59995 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726141AbfLKUo1 (ORCPT ); Wed, 11 Dec 2019 15:44:27 -0500 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.145]) with ESMTPA (Nemesis) id 1M8hR1-1iaRs43tkf-004kEW; Wed, 11 Dec 2019 21:44:06 +0100 From: Arnd Bergmann To: Jens Axboe , "James E.J. Bottomley" , "Martin K. Petersen" , Alexander Viro , Catalin Marinas , Will Deacon Cc: linux-kernel@vger.kernel.org, y2038@lists.linaro.org, Arnd Bergmann , linux-arm-kernel@lists.infradead.org Subject: [PATCH 01/24] compat: ARM64: always include asm-generic/compat.h Date: Wed, 11 Dec 2019 21:42:35 +0100 Message-Id: <20191211204306.1207817-2-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20191211204306.1207817-1-arnd@arndb.de> References: <20191211204306.1207817-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:mz5wMeP1mI7KLnX+L9TZUVo6MIfdhwfA5AkmOs+OaphdklUbCnv X7MrRZI2R9VJWf66NRTLnVoMD6/5RMLHE3sUWVfolxdjEhWoRD3hstmd5OvxofRbJrFFUNM U0inFOTcxWdr9e0WR63XsUOuZLnDnhZ1/cLHTwAuxz2imLLI2AkfpqGZDH2tXHJueqlDJrw WzwJOQaA0tpR0khCs2klQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:5jcoHq9nJuQ=:BcHub+UBDAq7thiTpDno2w hSkCw8JTpuGlDJ57SmOUvV7vYHfSYEnIJSeWHWCp+bdDSoMCLrwMoJ7odEpI7WPtvB/ScsCvX VeNcQSKHIGcbiNr6/sqYv0LUIPEo7hppvFJSEtqOF37EVMjvgPUKUtF4HBXCpk0Qv2gnFmh91 Q5AnpgUNMu7WOZYqE9pKT2CGY1GEijsATykSiXwT1JyYR87rhdQZcEhx1tuppOD1KC0MDCJK5 x1wrBONVLyazD0Q/wnklpJPW2Mms4LzT3Ort5hQVmp/MItiaBcxs85dOHOFiDvuob622PfNOV PEDjts6WgUADfTCBpFPWOcw7WwWbSDqRM3PmRgqEGkxmu5bKOMfVqbq6n9+3N4dptgwE6fDOn /A4T6BKSblu+oPkGFGBZQjDyC1SMwpWBPHvrOdyPnIPMfIs5ULnIkxOJBty5xLKC0e0meDH9+ b4tf89eeCRcctW9EV6YKAfobJs2SwCW83Tslrp46TVUCeQz4qUEPW3KwdgALLQ5tSZRT2r2hK Tbsc9JsabSWTA+wBNM/jL/actcRW5K9G+qn2EDyqMD4Xkf57Y0GRmBpmX+YUXOr5//J6q5O3P i8mzTH1iwJ78Ki3iKyPadTRxzutFG4fEZc9C9WpSjQSU9PGBW9Wdd+YaY565zaJFLYICgy/IG sYzvlRm9IEK780kxN1oEFgawAcIXTryC1iAO4mWE1E+146mOi7CPZOufM4oztTZtaRV0Q7HHr /LiW6o/Juxdn0noEDDvQ3Br5nYMzuo6xUUfowN5iAd8VF+A3ACDBsRdAgeWsRBDRdCwDTjHr2 wDcgxTwXMlZAe8sjLiqZVYp2RC5Krc9DwXkwsg1nmKODL7eO+4vgb38hZWP/qBtq1KbRCaAit lAicoBqmZ4Snql/Awy/Q== 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. Signed-off-by: Arnd Bergmann --- arch/arm64/include/asm/compat.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- 2.20.0 Acked-by: Will Deacon 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"