Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756443AbYHKTbx (ORCPT ); Mon, 11 Aug 2008 15:31:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752989AbYHKTbn (ORCPT ); Mon, 11 Aug 2008 15:31:43 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:53451 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752035AbYHKTbm (ORCPT ); Mon, 11 Aug 2008 15:31:42 -0400 Date: Mon, 11 Aug 2008 21:31:29 +0200 From: Ingo Molnar To: Andreas Herrmann Cc: "H. Peter Anvin" , Thomas Gleixner , linux-kernel@vger.kernel.org Subject: Re: x86: compile pat debugfs interface only if CONFIG_X86_PAT is set Message-ID: <20080811193129.GH12788@elte.hu> References: <20080806133016.GH5427@alberich.amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080806133016.GH5427@alberich.amd.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 725 Lines: 21 * Andreas Herrmann wrote: > > Signed-off-by: Andreas Herrmann > --- > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/