lkml.org 
[lkml]   [2008]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: x86: compile pat debugfs interface only if CONFIG_X86_PAT is set

* Andreas Herrmann <andreas.herrmann3@amd.com> wrote:

>
> Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
> ---
> 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


\
 
 \ /
  Last update: 2008-08-11 21:35    [W:0.592 / U:0.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site