From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751709AbcBJOPL (ORCPT ); Wed, 10 Feb 2016 09:15:11 -0500 Received: from mx2.suse.de ([195.135.220.15]:37399 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751367AbcBJOPI (ORCPT ); Wed, 10 Feb 2016 09:15:08 -0500 Subject: Re: mm, compaction: fix build errors with kcompactd To: Arnd Bergmann , Andrew Morton References: <9230470.QhrU67iB7h@wuerfel> Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org From: Vlastimil Babka Message-ID: <56BB44D4.60004@suse.cz> Date: Wed, 10 Feb 2016 15:10:28 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <9230470.QhrU67iB7h@wuerfel> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/09/2016 03:15 PM, Arnd Bergmann wrote: > The newly added kcompactd code introduces multiple build errors: > > include/linux/compaction.h:91:12: error: 'kcompactd_run' defined but not used [-Werror=unused-function] > mm/compaction.c:1953:2: error: implicit declaration of function 'hotcpu_notifier' [-Werror=implicit-function-declaration] > > This marks the new empty wrapper functions as 'inline' to avoid unused-function warnings, > and includes linux/cpu.h to get the hotcpu_notifier declaration. > > Fixes: 8364acdfa45a ("mm, compaction: introduce kcompactd") > Signed-off-by: Arnd Bergmann Thanks a lot! Vlastimil