Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752533Ab2BZBxc (ORCPT ); Sat, 25 Feb 2012 20:53:32 -0500 Received: from mail-pz0-f46.google.com ([209.85.210.46]:55705 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752384Ab2BZBxa (ORCPT ); Sat, 25 Feb 2012 20:53:30 -0500 MIME-Version: 1.0 In-Reply-To: <4F498EFF.6040309@zytor.com> References: <20120221.221609.218135609185671883.davem@davemloft.net> <1329889428.2193.45.camel@perseus.themaw.net> <1329890027.2193.48.camel@perseus.themaw.net> <1329890251.2193.50.camel@perseus.themaw.net> <4F498EFF.6040309@zytor.com> From: Linus Torvalds Date: Sat, 25 Feb 2012 17:53:10 -0800 X-Google-Sender-Auth: 4mOLzl7I3v07bmKEiREsT7pRfXg Message-ID: Subject: Re: [PATCH] autofs4: fix compilation without CONFIG_COMPAT To: "H. Peter Anvin" Cc: Andreas Schwab , Ian Kent , David Miller , linux-kernel@vger.kernel.org, autofs@vger.kernel.org, Thomas Meyer , Al Viro Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 581 Lines: 15 On Sat, Feb 25, 2012 at 5:46 PM, H. Peter Anvin wrote: > > I think this patch could help clean up other places, too. Grepping for CONFIG_COMPAT shows that the most common test is for some local variable that indicates "compatness". The "is_compat_task()" test is actually surprisingly rare. Linus -- 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/