Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1331196

Re: mm, compaction: fix build errors with kcompactd

From Vlastimil Babka <vbabka@suse.cz>
Newsgroups linux.kernel
Subject Re: mm, compaction: fix build errors with kcompactd
Date 2016-02-10 15:20 +0100
Message-ID <r0DMC-3gn-15@gated-at.bofh.it> (permalink)
References <r0hj4-59v-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <arnd@arndb.de>

Thanks a lot!
Vlastimil

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

mm, compaction: fix build errors with kcompactd Arnd Bergmann <arnd@arndb.de> - 2016-02-09 15:20 +0100
  Re: mm, compaction: fix build errors with kcompactd Vlastimil Babka <vbabka@suse.cz> - 2016-02-10 15:20 +0100
  Re: mm, compaction: fix build errors with kcompactd Paul Gortmaker <paul.gortmaker@windriver.com> - 2016-02-13 23:30 +0100

csiph-web