lkml.org 
[lkml]   [2015]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: randconfig build error with next-20150724, in mm/page_ext.c
On Fri, Jul 24, 2015 at 09:27:53AM -0700, Jim Davis wrote:

> warning: (HWPOISON_INJECT && MEM_SOFT_DIRTY && IDLE_PAGE_TRACKING)
> selects PROC_PAGE_MONITOR which has unmet direct dependencies (PROC_FS
> && MMU)
>
> mm/built-in.o: In function `page_ext_init_flatmem':
> (.init.text+0x30ef): undefined reference to `page_idle_ops'
> mm/built-in.o: In function `page_ext_init_flatmem':
> (.init.text+0x3172): undefined reference to `page_idle_ops'

This has already been reported by the kbuild test robot, see:

[mmotm:master 260/385] warning: (HWPOISON_INJECT && ..) selects PROC_PAGE_MONITOR which has unmet direct dependencies (PROC_FS && ..)

It should be fixed by:

From: Vladimir Davydov <vdavydov@parallels.com>
Subject: [PATCH] mm/Kconfig: fix IDLE_PAGE_TRACKING dependencies

Fixes: proc-add-kpageidle-file
Signed-off-by: Vladimir Davydov <vdavydov@parallels.com>

diff --git a/mm/Kconfig b/mm/Kconfig
index db817e2c2ec8..a1de09926171 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -657,6 +657,7 @@ config DEFERRED_STRUCT_PAGE_INIT

config IDLE_PAGE_TRACKING
bool "Enable idle page tracking"
+ depends on PROC_FS && MMU
select PROC_PAGE_MONITOR
select PAGE_EXTENSION if !64BIT
help

\
 
 \ /
  Last update: 2015-07-24 19:01    [W:0.069 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site