Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp328692pxu; Thu, 3 Dec 2020 01:00:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJzkRtR8XyfoMdH4YqlgEiolNB+gZlDq9t7n51mHtGFqyWx0FxMILdux3EYKBIgWioik0XHq X-Received: by 2002:a05:6402:a53:: with SMTP id bt19mr1950925edb.104.1606986017386; Thu, 03 Dec 2020 01:00:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606986017; cv=none; d=google.com; s=arc-20160816; b=plHy8CBQP7GMTT/Ulhgz/GNIDWgWShlNEiPpsO6z1uCFRNya4Mwxjwpr+0YOGOXTQz uEKAFlyCoZFi4CRbbi+Cdeyb3Ez7hSmXgucvB9rC36sAeNv8fpAfK5TRltN8i1Ch8Luy WacCZak5+NPOn6pJWCkO4xlXg+VZ4P8N7iIfLEsTogJrkVHn6bo82P3CYBbVSZ3cwdgD KjJK4/uqKhlYY6kLv/odv3MW2SBp4WHvc8HPR8Hu+QZPDrMNQ9w43+nPso78e3McVwXi oDU3JR110vE4CiROPvQwVi0wimIk6ml1Sb9uF+7+JxMABHIcImZ34JYFYgTjsy7umxdv 8Qiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=A3PwGyOHxgBV2JPRjPhNCHQ56NXJnKphp7bEDFZwwA4=; b=JWGIqaIQr3d8ot83YvkihF4HWmTpRS8jtt09PuIZgSx/wYDHkX1ugvd98D+1qHF8xG j9uZ1PjcEbhhSRq4S3YOOolidZddx3vPMY+qGaDPXUr+RfgRQDTo0lk5avBGbe7hdwyU jIOAL+BPZd02T4G1Ug7tKZpN9F9PSoiYkighsYo+h+ly0yXOcGgpaVNL1DPzB4gBFxAO oH/fc1Xk1UBicVUvjkWKfqPM7jGRYR2vbIFnGSEszl/60pPRSW1uMKhEgIy9cBRneNzs rETQAGMS8zogq4FInEOlXmAoKM8wxz+schsamj71LzhC4SyoesMWlDKQdZLRIWFkQlIV CCcw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q9si719112ejm.460.2020.12.03.00.59.53; Thu, 03 Dec 2020 01:00:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387594AbgLCI6f (ORCPT + 99 others); Thu, 3 Dec 2020 03:58:35 -0500 Received: from mail.loongson.cn ([114.242.206.163]:33514 "EHLO loongson.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726366AbgLCI6e (ORCPT ); Thu, 3 Dec 2020 03:58:34 -0500 Received: from bogon.localdomain (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9Dx73+LqMhf01sZAA--.41290S3; Thu, 03 Dec 2020 16:57:48 +0800 (CST) From: Jinyang He To: Thomas Bogendoerfer , Huacai Chen , Jiaxun Yang Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] MIPS: Remove unused memblock_set_node Date: Thu, 3 Dec 2020 16:57:46 +0800 Message-Id: <1606985867-9791-2-git-send-email-hejinyang@loongson.cn> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1606985867-9791-1-git-send-email-hejinyang@loongson.cn> References: <1606985867-9791-1-git-send-email-hejinyang@loongson.cn> X-CM-TRANSID: AQAAf9Dx73+LqMhf01sZAA--.41290S3 X-Coremail-Antispam: 1UD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UU X-CM-SenderInfo: pkhmx0p1dqwqxorr0wxvrqhubq/ Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Seting node for platforms which not need multiple nodes make no sence after we abandoning DISCONTIGMEM. Signed-off-by: Jinyang He --- arch/mips/kernel/setup.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c index ca579de..b3a711e 100644 --- a/arch/mips/kernel/setup.c +++ b/arch/mips/kernel/setup.c @@ -639,9 +639,6 @@ static void __init arch_mem_init(char **cmdline_p) early_init_fdt_reserve_self(); early_init_fdt_scan_reserved_mem(); -#ifndef CONFIG_NUMA - memblock_set_node(0, PHYS_ADDR_MAX, &memblock.memory, 0); -#endif bootmem_init(); /* -- 2.1.0