x86: compile pat debugfs interface only if CONFIG_X86_PAT is set
authorAndreas Herrmann <andreas.herrmann3@amd.com>
Wed, 6 Aug 2008 14:23:08 +0000 (16:23 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 11 Aug 2008 19:30:59 +0000 (21:30 +0200)
commit012f09e7942716d5f4339f1fd9a831a485bb1d4a
tree487654a5b902975efe8637bc5d048ade15cc50b0
parent10fec20ef5eec1c91913baec1225400f0d02df40
x86: compile pat debugfs interface only if CONFIG_X86_PAT is set

Recently I've run a kernel w/o PAT support and wondered why there was
a file "x86/pat_memtype_list" in debugfs. Of course it's empty if PAT
is disabled ... so just get rid of this interface if PAT is disabled.

Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/pat.c