From: Andi Kleen Date: Mon, 21 Dec 2009 18:56:42 +0000 (+0100) Subject: HWPOISON: Add PROC_FS dependency to hwpoison injector v2 X-Git-Tag: v2.6.33-rc2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27df5068e24f2f88de98e95eb6e8dbc9800bf80e;p=pandora-kernel.git HWPOISON: Add PROC_FS dependency to hwpoison injector v2 The injector filter requires stable_page_flags() which is supplied by procfs. So make it dependent on that. Also add ifdefs around the filter code in memory-failure.c so that when the filter is disabled due to missing dependencies the whole code still builds. Reported-by: Ingo Molnar Signed-off-by: Andi Kleen --- Reading git-diff-tree failed