Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1750759pxj; Sat, 5 Jun 2021 01:57:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymxfQMnRr4ICH7lQQs0N5RWJIVNKLyAjtrGxv+Gcw4VkY6KpatEorYyzIZHU1uJY7zIDuu X-Received: by 2002:a17:906:606:: with SMTP id s6mr8201592ejb.206.1622883447815; Sat, 05 Jun 2021 01:57:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622883447; cv=none; d=google.com; s=arc-20160816; b=h7vq+Vkr+hcECWBSdYszwJD4K/XaGRK8JMTk+xPbAPPzIXzdPGjZEad/rJ/DQIJD5f zd2x/l7+WT356+yBg1sDvH6JPhv9RTzTePQNRUfSQwHe48qHaxtPkE8p8k6VzE1F3jWs rs9XofVTRQGv0LFyTzdU8fAG9aUezM9/GKhGBvkOipNrwayqJBKQVGohcNZpeNaA7/hs Wad8wayMtY15T7srLeWL8mtHU/OVsflbQZk7StDHU53fy7gOcDLWa0yXZmMBmRLHQmdL vfYmpp0jw6jLXsLNHv5qlGT9X+9LZhMKi1iwInlX4UF2keGmNxgIDaxrZeSMqymIQye5 r/xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:cc:to:subject:from:message-id; bh=aFmI69eQZwOGJYm+QuSId8sNvUxW+6jXNNu0MlckWEU=; b=s5pid4AnNJh70mQdNxu8T4rVyG0hgBaWhHNSftk0DVpvUd99dtNo6tNIKzYEtJU0oY M2NFu1EBRNEYUX0nP2V/DDmb706CJTRzTqaNr9Hx+ajKMLgGHq9BZBmn0Usof82f6C5w LsXqNhxkGyPlcB0z+06YxwJMIVloLH6c6HG7rs8J7gnrRmSa1vTgrc0Au6OBi/T/rtSp MLtJ7HGHSwesprcBfi0BgtZSQH4EAxPn8vujf4NOQM7CgGAi2VKIDLzL+yvk3vQTsotb qEDxlA4S8pfdpkPplQcTOQV3LyQlxE2DmV2G1Khbyqo/4x/xIOeIoi6kb19yK1pKybDM UMBg== 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 k9si7363043edv.565.2021.06.05.01.57.03; Sat, 05 Jun 2021 01:57:27 -0700 (PDT) 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 S229902AbhFEI56 (ORCPT + 99 others); Sat, 5 Jun 2021 04:57:58 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:7299 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229864AbhFEI56 (ORCPT ); Sat, 5 Jun 2021 04:57:58 -0400 Received: from localhost (mailhub3.si.c-s.fr [192.168.12.233]) by localhost (Postfix) with ESMTP id 4FxtlY5mymzBBMS; Sat, 5 Jun 2021 10:56:09 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5kEbC-E9tzoI; Sat, 5 Jun 2021 10:56:09 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 4FxtlY4kBNzBBMM; Sat, 5 Jun 2021 10:56:09 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 799AE8B775; Sat, 5 Jun 2021 10:56:09 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id jFNKuWosL3vt; Sat, 5 Jun 2021 10:56:09 +0200 (CEST) Received: from po15610vm.idsi0.si.c-s.fr (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 465B18B763; Sat, 5 Jun 2021 10:56:09 +0200 (CEST) Received: by po15610vm.idsi0.si.c-s.fr (Postfix, from userid 0) id 094B264BD2; Sat, 5 Jun 2021 08:56:09 +0000 (UTC) Message-Id: <3e5b63bb3daab54a1eb9c20221c2e9528c4db9b3.1622883330.git.christophe.leroy@csgroup.eu> From: Christophe Leroy Subject: [PATCH] powerpc/mem: Add back missing header to fix 'no previous prototype' error To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Sat, 5 Jun 2021 08:56:09 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit b26e8f27253a ("powerpc/mem: Move cache flushing functions into mm/cacheflush.c") removed asm/sparsemem.h which is required when CONFIG_MEMORY_HOTPLUG is selected to get the declaration of create_section_mapping(). Add it back. Fixes: b26e8f27253a ("powerpc/mem: Move cache flushing functions into mm/cacheflush.c") Cc: stable@vger.kernel.org Reported-by: kernel test robot Signed-off-by: Christophe Leroy --- arch/powerpc/mm/mem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c index 043bbeaf407c..a6b36a40897a 100644 --- a/arch/powerpc/mm/mem.c +++ b/arch/powerpc/mm/mem.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include -- 2.25.0