From patchwork Tue Mar 29 12:39:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Potapenko X-Patchwork-Id: 12794751 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0AAD2C433FE for ; Tue, 29 Mar 2022 12:40:33 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8ECE78D0003; Tue, 29 Mar 2022 08:40:32 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 89C8B8D0001; Tue, 29 Mar 2022 08:40:32 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 764F88D0003; Tue, 29 Mar 2022 08:40:32 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.26]) by kanga.kvack.org (Postfix) with ESMTP id 66C0C8D0001 for ; Tue, 29 Mar 2022 08:40:32 -0400 (EDT) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay12.hostedemail.com (Postfix) with ESMTP id 38D651215D3 for ; Tue, 29 Mar 2022 12:40:32 +0000 (UTC) X-FDA: 79297382304.02.4975F89 Received: from mail-ed1-f73.google.com (mail-ed1-f73.google.com [209.85.208.73]) by imf31.hostedemail.com (Postfix) with ESMTP id D18EA20004 for ; Tue, 29 Mar 2022 12:40:31 +0000 (UTC) Received: by mail-ed1-f73.google.com with SMTP id d28-20020a50f69c000000b00419125c67f4so10951498edn.17 for ; Tue, 29 Mar 2022 05:40:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=3CQYkeXdj1XVJNClFGQhidAhDBObT15U+enV+/AhM6A=; b=Rs1GnbfzAh48GyKvXrTviY6xmcPrSlCBrhBam52FN5lKhGkSSoDXuC/+sTSLnCX5XO /i4ncOwVT391qnv8EZbsDSgMBgczL/nCzy9Jqzu/nf38q/o+9kZr7KSlVoUWiViJ9870 M0b0YE9E38a6zKyq5m0p8rIATZFa84ILdXxkvPpuNk7AfC4/9N8vExikGAHybh4Pb0rX 8KcC4OmYsI0xN2dW728NWEU8I1Adn92Xl7Ph9hUyWVnxsPmYOh4rsrvl7JDTJxDDCuk+ Va2vfsVuAq80Q0B5XplgXmEPTnrJ0hx+BQmCkMVH18sZhimHpdOgC1BUg2+kBBmprNgo nutA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=3CQYkeXdj1XVJNClFGQhidAhDBObT15U+enV+/AhM6A=; b=Hi5217pN/OjES0ruI5s0xGW9lmgPM2a2Xv8y1eN2EnVmpSeeO90Z4tM/3kezq+bz03 2MOaoeM5vnQezZCfy+cTq41D042yS0/ABW4jtiM7WSAhTQq2cZDTyWk6HqlkUwmlqC2p yHO9eoXBRIPlfjxeX50glFnsOxnzbPWU0Dr3Zr/vbcEZX7eV3zO7egjSH/ln8O/8eDUU VDWR9i925klPteFBbXfRPZLn6atxn+SpPY0LN9dkpmlyIopqUWlaWgcdnDMINWJNCQjO UqlylWaQRzn5mFFXYbQXR8qyqgnhb5P1GWKXuB2FTQvP9UWqPKc0VAtX0VodFKEBtBcK OvMw== X-Gm-Message-State: AOAM533UaPBqmkPRUuBiYpMPbF02fLu+xDLoU8W3socwi1x5k+8Cs5q6 vU0B55JhH+ixHw61KVhH+pj0gRRZ6e0= X-Google-Smtp-Source: ABdhPJwxfLc7E5CGNpFchMAnZqVrfibLaBjl6ZrGzY59hWiYTgmr/LPloRQjIFWbW4/icF3FYORBAEJgcTc= X-Received: from glider.muc.corp.google.com ([2a00:79e0:15:13:36eb:759:798f:98c3]) (user=glider job=sendgmr) by 2002:a17:906:9c82:b0:6df:c5f0:d456 with SMTP id fj2-20020a1709069c8200b006dfc5f0d456mr34088614ejc.287.1648557630566; Tue, 29 Mar 2022 05:40:30 -0700 (PDT) Date: Tue, 29 Mar 2022 14:39:30 +0200 In-Reply-To: <20220329124017.737571-1-glider@google.com> Message-Id: <20220329124017.737571-2-glider@google.com> Mime-Version: 1.0 References: <20220329124017.737571-1-glider@google.com> X-Mailer: git-send-email 2.35.1.1021.g381101b075-goog Subject: [PATCH v2 01/48] x86: add missing include to sparsemem.h From: Alexander Potapenko To: glider@google.com Cc: Alexander Viro , Andrew Morton , Andrey Konovalov , Andy Lutomirski , Arnd Bergmann , Borislav Petkov , Christoph Hellwig , Christoph Lameter , David Rientjes , Dmitry Vyukov , Eric Dumazet , Greg Kroah-Hartman , Herbert Xu , Ilya Leoshkevich , Ingo Molnar , Jens Axboe , Joonsoo Kim , Kees Cook , Marco Elver , Mark Rutland , Matthew Wilcox , "Michael S. Tsirkin" , Pekka Enberg , Peter Zijlstra , Petr Mladek , Steven Rostedt , Thomas Gleixner , Vasily Gorbik , Vegard Nossum , Vlastimil Babka , linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org X-Stat-Signature: hz4fd8tpgdbfrkzxww4zp5bcm6mtzjbr X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: D18EA20004 Authentication-Results: imf31.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=Rs1Gnbfz; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf31.hostedemail.com: domain of 3Pv5CYgYKCF8DIFABODLLDIB.9LJIFKRU-JJHS79H.LOD@flex--glider.bounces.google.com designates 209.85.208.73 as permitted sender) smtp.mailfrom=3Pv5CYgYKCF8DIFABODLLDIB.9LJIFKRU-JJHS79H.LOD@flex--glider.bounces.google.com X-Rspam-User: X-HE-Tag: 1648557631-676833 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: Dmitry Vyukov sparsemem.h:34:32: error: unknown type name 'phys_addr_t' extern int phys_to_target_node(phys_addr_t start); ^ sparsemem.h:36:39: error: unknown type name 'u64' extern int memory_add_physaddr_to_nid(u64 start); ^ Signed-off-by: Dmitry Vyukov Signed-off-by: Alexander Potapenko --- Link: https://linux-review.googlesource.com/id/Ifae221ce85d870d8f8d17173bd44d5cf9be2950f --- arch/x86/include/asm/sparsemem.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/include/asm/sparsemem.h b/arch/x86/include/asm/sparsemem.h index 6a9ccc1b2be5d..64df897c0ee30 100644 --- a/arch/x86/include/asm/sparsemem.h +++ b/arch/x86/include/asm/sparsemem.h @@ -2,6 +2,8 @@ #ifndef _ASM_X86_SPARSEMEM_H #define _ASM_X86_SPARSEMEM_H +#include + #ifdef CONFIG_SPARSEMEM /* * generic non-linear memory support: