Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp1937248ima; Thu, 25 Oct 2018 07:16:53 -0700 (PDT) X-Google-Smtp-Source: AJdET5eX+/Owec1tZdKLPcIpLZY0qxx+BFkTRNEpSVMzizWntTXyaU1bF34H+s2+4oR39+5MFRgu X-Received: by 2002:a63:d10b:: with SMTP id k11-v6mr1688789pgg.80.1540477013075; Thu, 25 Oct 2018 07:16:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540477013; cv=none; d=google.com; s=arc-20160816; b=OThe4XtEOwHJHAW5NRzqLqZBT3Lj020QOt2uHsz1vLHK5hSO1lKcpA33fo6ALqmZ+c DoYHV+JxmIAnfC5ReoosGwytYHp10XP7jqkccNXAUASwfMU8yBGcLDE8xusUUv/GfnS7 mCMdPAGU5XitpcMg8BHh7iOR8/JzKQ+8Wnbq7d6jj6+/Upvxrp7cQOAJQapuQud3SQPT GskV+vRFmLz4g4BzJ7ElH7T5TNrw9z4PDjM7Ofc5LHPxoI89e9+iTKuH2zzCboo9HmZO Q4l8arWarOuiH6OlkvPdpEIJ1q6EJXjXHhD+qB6JixkuWpGonV4cl+DV7LXzq2CJZoje +cCw== 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 :dkim-signature; bh=8z/LBKJgSGXFvnLr4nnub5bO7ayktAV5aZwlnuAEGII=; b=IBIpRovuAsji7yYl1rjKSGo3mLgl0VAT+h0qNYF/aE6T17/aNQ9beFHwpQ8f91BF1x uJFSp9aeQRQDtRWlwW/0nundo4eiFazCULmZ5ePjWdbl6AZOeQZChmDOx0xeLOBBWkdR mbMv2v/r1QgxKVn8cG7LyRcs6D3hWlc/Lx5LkC+bHhmKriintS8aPlwEo17zzS9/dENa rY0foH/K0W7ATg1RFq72hyy0zPjXr/0TmBugyyNUyC8yxsvrqV7M9LoBfE8oetP3vzm0 e/CDLEZUY0RVfuJLfcH5b8qlwx0MpzioMsTJ++TDYlYaQPvkSRX22lElK3P1QL8zsu4J 7hhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1r6fOc+T; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 185-v6si8489808pff.270.2018.10.25.07.16.08; Thu, 25 Oct 2018 07:16:53 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=default header.b=1r6fOc+T; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727984AbeJYWoI (ORCPT + 99 others); Thu, 25 Oct 2018 18:44:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:52712 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727877AbeJYWoH (ORCPT ); Thu, 25 Oct 2018 18:44:07 -0400 Received: from sasha-vm.mshome.net (unknown [167.98.65.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4C92020840; Thu, 25 Oct 2018 14:11:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1540476672; bh=t0o7lloEpgGRl8ztTpA1vDu5AdBE7RRPNJQaV8Lajn8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1r6fOc+T1zat4kV1cdLT8+G8yPDLiEEhevWiJauR08JMHoCzziDuCP8MpYG6QcCTw VGEgHDI0Vxr2jowuAtp0C41c8f8fe1KIKaEGCwMfi/1v2vkme8Ax4sWNViZiiNScPE uuVrqsYtESmczFbAKoIkexHF3mltcd4JPY2oALh8= From: Sasha Levin To: stable@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Corentin Labbe , Michael Ellerman , Sasha Levin Subject: [PATCH AUTOSEL 4.14 12/46] powerpc/pseries: Add empty update_numa_cpu_lookup_table() for NUMA=n Date: Thu, 25 Oct 2018 10:10:19 -0400 Message-Id: <20181025141053.213330-12-sashal@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181025141053.213330-1-sashal@kernel.org> References: <20181025141053.213330-1-sashal@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Corentin Labbe [ Upstream commit c1e150ceb61e4a585bad156da15c33bfe89f5858 ] When CONFIG_NUMA is not set, the build fails with: arch/powerpc/platforms/pseries/hotplug-cpu.c:335:4: error: déclaration implicite de la fonction « update_numa_cpu_lookup_table » So we have to add update_numa_cpu_lookup_table() as an empty function when CONFIG_NUMA is not set. Fixes: 1d9a090783be ("powerpc/numa: Invalidate numa_cpu_lookup_table on cpu remove") Signed-off-by: Corentin Labbe Signed-off-by: Michael Ellerman Signed-off-by: Sasha Levin --- arch/powerpc/include/asm/topology.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/powerpc/include/asm/topology.h b/arch/powerpc/include/asm/topology.h index d5f2ee882f74..66c72b356ac0 100644 --- a/arch/powerpc/include/asm/topology.h +++ b/arch/powerpc/include/asm/topology.h @@ -81,6 +81,9 @@ static inline int numa_update_cpu_topology(bool cpus_locked) { return 0; } + +static inline void update_numa_cpu_lookup_table(unsigned int cpu, int node) {} + #endif /* CONFIG_NUMA */ #if defined(CONFIG_NUMA) && defined(CONFIG_PPC_SPLPAR) -- 2.17.1