From patchwork Thu May 18 22:03:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 96076 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp832416vqo; Thu, 18 May 2023 15:16:16 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6FnoZIkrFORbh0pQUlmCtSMPruvfd3ZES5jJAVWWcxR0GaHy6GaRz1P5ykrJHwYDmkuj7/ X-Received: by 2002:a05:6a20:4421:b0:104:6432:270 with SMTP id ce33-20020a056a20442100b0010464320270mr1848419pzb.46.1684448175645; Thu, 18 May 2023 15:16:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684448175; cv=none; d=google.com; s=arc-20160816; b=i4gDmfcUkwsYdNYbXQzd2qeR7xDfYVW1TxBvLbxJw3okHv3zwJULnBEaP05V9z+PaD 2Yk/51swERRx1xCDwujI6wyHUZPabtMnrDha4CaZnyMtX0XqmFAyARrdnsX8ZvvkEIHN Nl9jRTFe9/vRF90Cyp0ukBEJBJx/XlZNAl9GGd3TpueKt3pIDb+q/dJ1NOWzGj7sjFEL aDW9FILLSHV6q1K/FB3kiYthblRQn7nesOSC6F6NRt7w04tgsAmumgEFG8sBUbuqIy68 lqGhLXiC84a2uFCuoJHmMyFOKnlWbtZSvUzDU1RxXxIZ0+lDv3Jxs+LRwcB01F6dTzwy qROA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:cc:subject:to:reply-to:sender:from :dkim-signature:dkim-signature:date; bh=ltQ3L6tadCn4Z6Gz2ASt3C39R1RPyrwN6s8j9Dokk1M=; b=Xr0eZxQPgJBwhwr3ZwRq1bjzW/tijtMEWtXdFhL7bXBlMeaIe4EAvaQyYxgp/NBuPB UTNDJF+aWUOsV2CkJPGD1MYlYK08SQxgOGyrVlYdxjciXZNTwtsUG8vieOHO6w3uK9gm CShU6WXIeBEFYLRSYh62zWkI99G913ijhG/Yuxm0fMr8vCByUwjbu8lCb0BGp+UuZSjf Vy42/bdsCuTGNl6EXbrrUMRr3PsFfUC0q7PyuMqK1Ci9xce7yu0hVRPm3Xjy8V+rBM/2 mmrX1FlnVQlUgr7+LTxdwyVVBcrLj/NTcF7iuBC+ULEHiodhfVYZUP2TQio58wDMTAZB 0v9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=LRnYcpPm; dkim=neutral (no key) header.i=@linutronix.de header.b=QMgmFnkH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 205-20020a6300d6000000b0052cb781ef64si2531298pga.814.2023.05.18.15.16.01; Thu, 18 May 2023 15:16:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=LRnYcpPm; dkim=neutral (no key) header.i=@linutronix.de header.b=QMgmFnkH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230480AbjERWDl (ORCPT + 99 others); Thu, 18 May 2023 18:03:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230289AbjERWDT (ORCPT ); Thu, 18 May 2023 18:03:19 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1C82E64; Thu, 18 May 2023 15:03:17 -0700 (PDT) Date: Thu, 18 May 2023 22:03:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1684447394; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ltQ3L6tadCn4Z6Gz2ASt3C39R1RPyrwN6s8j9Dokk1M=; b=LRnYcpPmqRJBkY0jXDrMSb5vt6buokv+P0xfZBaOQNCv0u/CFcsiRApuSjrk6Wn6ba4rZL 2exRrtQtMYioNUxp2Eho4rhF+xViUVH7bHEF6G802N9xIgOX65bQOxC/Dc+3sJkVTwVTz2 kLNlslzMn4gr0brSR0IGqqHFTZPlVLSIlsA9HcP7wKzvXMJD/ryYle2+IC1xLrSukXEYcR GZJxkN0pMUCI2diCuFJJlwBEKKvE6Z41efEn/bsD438YOWW7MYPaUjFEDGC/sR+kJ9hqF0 UF8kgzxMKklKcpA6/ddbTm+gDhQMIFAgWWT6ZTy+DynJTc7rcN3bfUVoBcN39Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1684447394; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ltQ3L6tadCn4Z6Gz2ASt3C39R1RPyrwN6s8j9Dokk1M=; b=QMgmFnkHyjlePDJS7TkGcWAvkXG+P9wwUrf2TxwWFog6KFErf8cnKabT7JOawmUCkeTfyy OhXZMnPVlFt239Cw== From: "tip-bot2 for Arnd Bergmann" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cleanups] x86/mm: Include asm/numa.h for set_highmem_pages_init() Cc: Arnd Bergmann , Dave Hansen , Alexander Lobakin , x86@kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Message-ID: <168444739432.404.8341294872688326469.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766271930250642634?= X-GMAIL-MSGID: =?utf-8?q?1766271930250642634?= The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: b963d12aa66ce02b948cd69a20eea5d1d1e0137e Gitweb: https://git.kernel.org/tip/b963d12aa66ce02b948cd69a20eea5d1d1e0137e Author: Arnd Bergmann AuthorDate: Tue, 16 May 2023 21:35:37 +02:00 Committer: Dave Hansen CommitterDate: Thu, 18 May 2023 11:56:18 -07:00 x86/mm: Include asm/numa.h for set_highmem_pages_init() The set_highmem_pages_init() function is declared in asm/numa.h, which must be included in the file that defines it to avoid a W=1 warning: arch/x86/mm/highmem_32.c:7:13: error: no previous prototype for 'set_highmem_pages_init' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann Signed-off-by: Dave Hansen Reviewed-by: Alexander Lobakin Link: https://lore.kernel.org/all/20230516193549.544673-9-arnd%40kernel.org --- arch/x86/mm/highmem_32.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/mm/highmem_32.c b/arch/x86/mm/highmem_32.c index 2c54b76..d9efa35 100644 --- a/arch/x86/mm/highmem_32.c +++ b/arch/x86/mm/highmem_32.c @@ -3,6 +3,7 @@ #include #include /* for totalram_pages */ #include +#include void __init set_highmem_pages_init(void) {