From patchwork Tue Apr 2 13:26:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yang X-Patchwork-Id: 13614112 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 DD997C6FD1F for ; Tue, 2 Apr 2024 13:27:21 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 775356B0092; Tue, 2 Apr 2024 09:27:21 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 724BD6B0095; Tue, 2 Apr 2024 09:27:21 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5EC896B009A; Tue, 2 Apr 2024 09:27:21 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 3F5B16B0092 for ; Tue, 2 Apr 2024 09:27:21 -0400 (EDT) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 0309014086D for ; Tue, 2 Apr 2024 13:27:20 +0000 (UTC) X-FDA: 81964668282.25.9A97C1B Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) by imf30.hostedemail.com (Postfix) with ESMTP id 4BA4680008 for ; Tue, 2 Apr 2024 13:27:19 +0000 (UTC) Authentication-Results: imf30.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=YeFR1seK; spf=pass (imf30.hostedemail.com: domain of richard.weiyang@gmail.com designates 209.85.218.42 as permitted sender) smtp.mailfrom=richard.weiyang@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1712064439; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references:dkim-signature; bh=KDwciCZRTQDZapTIDTwTOs3L664qzz8zHC9CYK9t3HE=; b=wSETWQNImusq9Jlu0/MQ89KHjrVJuTNIlo+58qcrQfzJBaFRusa9bH0LUnHr2hSjNgFSvP 6zNl+X9+212VhkZL6i8m47AwylehzTbvwPlhPPe9KQa+NFqra1cwXR82B1rS7G+elXJTTw HdoYuXQWgXcuHQzM9fQGrdTpRaREBMI= ARC-Authentication-Results: i=1; imf30.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=YeFR1seK; spf=pass (imf30.hostedemail.com: domain of richard.weiyang@gmail.com designates 209.85.218.42 as permitted sender) smtp.mailfrom=richard.weiyang@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1712064439; a=rsa-sha256; cv=none; b=3cU4Eo/OwmX72xjlutZmlcTYsPMeeF+OOggWO/c8QUz13k70LEQeeQ6I06YqQ3g5k1AREO 9QHV9NX3ZiKs3WKEpdJySDOxczkW1ofeu8K8YqLkY1V44+UFLB5l/Z02/LyHXt3kJc35kW DLyhGy/vpu1lTe0kWXgcrLlhoXjniwk= Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-a450bedffdfso574079966b.3 for ; Tue, 02 Apr 2024 06:27:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712064437; x=1712669237; darn=kvack.org; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KDwciCZRTQDZapTIDTwTOs3L664qzz8zHC9CYK9t3HE=; b=YeFR1seK1gJT7KGEFusAOkD5+sAKlZ7yy1KdD67/UlPbsm37NOmQg1gi4b17AaurzR d04jUtTwCp26X3RiILxMKT/E9RCFKyPirw56GsoXwD4RsNDBWQsiA7XZUNhjdKqR3EP8 hBE/1/9W45o2sgbd2vSUVwtD9npaDuT5ifL7qSYFT6nV4lpZNV5IO43ZvNeguaXYCRZi yWylERpab9RifJKCqIPCXwrM+rQSOKwd7wadVmdVjEJNRo9sWAz9a9QbVDrSe/o8/wg0 qMjGXKs1CTbfRsZsOK4CQ2rst+7VaPuLjY0ARikoMF3a7S0qfsuhnXWjrFTLu7Y55s09 QJoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712064437; x=1712669237; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KDwciCZRTQDZapTIDTwTOs3L664qzz8zHC9CYK9t3HE=; b=asE9YndNAWoGgR7ltxc6Sqy+Q8xX9PnzyHd1cybXjVIncSMVeMvSiJ7dwVbDf5ksAM TVhtnbk8vkK6pDw5cygWiyhSNs5E/zxm80BmwdeWl7Uq1rVJHOAcQ67KO2gCg3df7clb wOhFuh7NH9bmC2T5/3q1ecZpPr268E+VTyEEkzbxcAjBpaBtnuw8jogS3y3UkZo9xcgY 0vA559FGIF6Lf8+Q11IGgi8ZBitvqS/eKzfmech1NEKPG6YLMpGI/gc+kCMwfXYxghDx QBhl4N2JcmrIpQJXP7ZWwedN8M/zAtRAT2MMDZtrZer/xh9P0JlXI+6eNGAYGJ2AEWrt fpMw== X-Forwarded-Encrypted: i=1; AJvYcCWeHWVLPw5C2ViRWjAncefNSVur/rrJF3OayWYVsPQh4hjyJ1KjXVXQjj9K61Ra4x9KylzKF5JiTQg17SpWVtysjLA= X-Gm-Message-State: AOJu0YzwyD/e4yKqP/AnNCHFNCkkpbmG/zny496BN/2h5dqXGZHIwkoB +uvrLfULBE7qI/AVb39twhkIHgZEe+nxRMcO03Ga9yfnfl/GV8PV X-Google-Smtp-Source: AGHT+IGkeMCYZa7WLQdbvR9cjFU3ygd7CXGHsqO0KYja+biw6uCBH9ckHPRO8FmxbXfhAUNukhHXtA== X-Received: by 2002:a17:906:3755:b0:a4e:4336:5550 with SMTP id e21-20020a170906375500b00a4e43365550mr6687741ejc.27.1712064437211; Tue, 02 Apr 2024 06:27:17 -0700 (PDT) Received: from localhost ([185.92.221.13]) by smtp.gmail.com with ESMTPSA id wy11-20020a170906fe0b00b00a4e4a3e69acsm4216265ejb.71.2024.04.02.06.27.16 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 Apr 2024 06:27:16 -0700 (PDT) From: Wei Yang To: akpm@linux-foundation.org, rppt@kernel.org, rongtao@cestc.cn Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Wei Yang Subject: [PATCH 0/3] memblock tests: fix build error Date: Tue, 2 Apr 2024 13:26:58 +0000 Message-Id: <20240402132701.29744-1-richard.weiyang@gmail.com> X-Mailer: git-send-email 2.11.0 X-Rspamd-Queue-Id: 4BA4680008 X-Rspam-User: X-Stat-Signature: km6orzya3rsxi51ix5ybbkmj3qf77tia X-Rspamd-Server: rspam01 X-HE-Tag: 1712064439-101156 X-HE-Meta: U2FsdGVkX1817ViWFkS2KuwVVotcwk3rEqaGEktO7i272HHeGkTfgoHBPIiMzZw77NCc7WYFbfqbm6+qGVzbdKgb72xsrD0wBDGVb5LWQ0xG2Icl3RxYuYRjQ4MiRxYFHlFu2gbb5/scuxNnTjFpsbZG5laEK5m09zo0uwdxgYh8oIaWJF5zN2niVqLKS31TkQnWRlRIhWVrsCcC0l74OGZANlxjp9pcucAB7fqS5Ds3rhsUnU5z15ZFmscS5UhOIPBtqaMZHSD4Z9vlNAehi2HqVWh8AVK2rTzo84P6pIFD7CQbPFGYi76t1udyX5S1awQ8VjOLUwN4RdyOdFRNY5prHpCTWFVYiBo/uVEuV0jWUKnfLmTjq5imyDiqDTwQy5N8TNKDQbaRCGrRZg51g9H1aZMIirxoRqUnMDNajespmJsV4+12X/IwSUfPIx2pdmnJusy69RYMEbasozsH7jtaCN2b1Wr4su5PiBskNP1qyDKqKy+THcr07p2/0weZf/ctcTSAzCvlF+UWQiw/ZN+HoAzXmnvxUGsLoWlobj5bGJHxGdA97n8el4DKyKLsx9x2YpSAZ/RBwyIR/Z6AZ6fn83A8DjR+5xcl/6nXckhKBirWq+RB1mtriwd4cscQd211YvFZmgq9NlgWcguDVfBtZtUbPZXMugMBI3/kUFarGu2HjTCTtr/HXrzj0+IvI9yrz8ye1O8TcpDJh3zRAaDUW+t2suFsjqZN0JG8mXGMsUBpEO0afLJwtixQb6SbElY1+TBg0UXRcYPNkau2/55mk85CK4mjzGmRyTVnlKqy8qcAUdfW0HQQ3ZX1+DJpW/XE4p772trvDuWLB8khCmUhozUabrmega/QTEh12Im9AYDNEQelpsIZZTdH9n6NWSQmTscDQqVhNaIbX2vuzlwepasfnuVE8xfpcIR6aTfssVtMiGICZrL33W1ku0Xj1VfqW2eOAjO/eaR6HZe XXOmutj1 qNapV3OoqQRamEwWT8ABUh0/ob79Ve/1vWMInFKIgAmc3pqBbHXQZWf22Yg22rKIUoGkIUWjKII0rhSwQUXL3Tn+lLt6S8daMYKebaBpfQd+K4fsUkrd3chCpAM0gd3OtdPdEsxy6fKoTON5w9XsNfuJd5PTpwMWAJ3J0sfYFKlWbHfvtK79GVZVLtPiWtw9rRz6htZygHwGyAYeJTEdFMemwxp1ITDasL6IcJfsUitFEHTii184RW7CnqvCeQK7giQmb0T8+bXBXzipcWAX0sgUhmtLjsjyzmvds/SCoSn6LDKOV2Z8M1/x/fPXdeD5l0YiS0OAR6/FgoDgguSEPXoMYdQ4fDuRoXbdx/OeZK9wVYmBbXciOIvjWKTGoxt1dGo2u6JAEaciSp+lT2sUegc0YBBeNeaXj/XcrJRFxEsZYYaWwKIQLisSuiTeYGkI7LwWvdWCHGD07S7Xoqa4XVJcPP8fC3vYqQ70lKMfWTFgXYXU= X-Bogosity: Ham, tests=bogofilter, spamicity=0.080256, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Some kernel change break the test build, just fix it. Wei Yang (3): memblock tests: fix undefined reference to `early_pfn_to_nid' memblock tests: fix undefined reference to `panic' memblock tests: fix undefined reference to `BIT' include/linux/gfp_types.h | 2 ++ tools/include/linux/kernel.h | 1 + tools/include/linux/mm.h | 5 +++++ tools/include/linux/panic.h | 19 +++++++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 tools/include/linux/panic.h