Re: x86: compile pat debugfs interface only if CONFIG_X86_PAT isset

From: Ingo Molnar
Date: Mon Aug 11 2008 - 15:31:57 EST



* Andreas Herrmann <andreas.herrmann3@xxxxxxx> wrote:

>
> Signed-off-by: Andreas Herrmann <andreas.herrmann3@xxxxxxx>
> ---
> arch/x86/mm/pat.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> 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.

applied to tip/x86/pat - thanks Andreas.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/