Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759512AbYAQXIS (ORCPT ); Thu, 17 Jan 2008 18:08:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752972AbYAQXIF (ORCPT ); Thu, 17 Jan 2008 18:08:05 -0500 Received: from terminus.zytor.com ([198.137.202.10]:57100 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752519AbYAQXID (ORCPT ); Thu, 17 Jan 2008 18:08:03 -0500 Message-ID: <478FDE76.3070309@zytor.com> Date: Thu, 17 Jan 2008 18:02:14 -0500 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: Harvey Harrison CC: Ingo Molnar , LKML , Thomas Gleixner Subject: Re: [PATCH] x86: Use v8086_mode helper, trivial unification References: <1200611078.5724.46.camel@brick> In-Reply-To: <1200611078.5724.46.camel@brick> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 512 Lines: 13 Harvey Harrison wrote: > Use v8086_mode inline in fault_32.c, no functional change > also ifdef the section for 32-bit only and add to fault_64.c The #ifdef is unnecessary, since v8086_mode() is now a constant zero on x86-64. gcc will remove the if clause. -hpa -- 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/