Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758794AbYCDSOi (ORCPT ); Tue, 4 Mar 2008 13:14:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760598AbYCDSOV (ORCPT ); Tue, 4 Mar 2008 13:14:21 -0500 Received: from wa-out-1112.google.com ([209.85.146.182]:2027 "EHLO wa-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758094AbYCDSOT (ORCPT ); Tue, 4 Mar 2008 13:14:19 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=I+njmYtxvCelOpNuFu5oXPW/C1x57wnr1xLM+W15UMnPEb3y6lNdI5thWCL9n6IGiiXJMkD8gJw60T2Gs5BPWWz7TMyYx6mqpBeRm7e7bVYMzvrCjdH2XCVVxSukwWIEX/2PCuClIVxNMLqAmHhyvjcddBfJINAItIqS9+uU7Tc= Subject: Re: [patch] x86: phase out forced inlining From: Harvey Harrison To: "H. Peter Anvin" Cc: Ingo Molnar , Sam Ravnborg , Adrian Bunk , Alexey Starikovskiy , lenb@kernel.org, astarikovskiy@suse.de, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Arjan van de Ven , Thomas Gleixner In-Reply-To: <47CD9060.9000708@zytor.com> References: <20080301183550.GC25835@cs181133002.pp.htv.fi> <20080303085720.GD15943@elte.hu> <20080303091314.GC4457@cs181133002.pp.htv.fi> <20080303091714.GA18250@elte.hu> <20080303093103.GA23651@uranus.ravnborg.org> <20080303103933.GC21190@elte.hu> <20080303113451.GF4457@cs181133002.pp.htv.fi> <20080303114533.GA4183@elte.hu> <20080303121335.GA15381@elte.hu> <20080303145623.GA25697@uranus.ravnborg.org> <20080304164605.GA16379@elte.hu> <1204654039.5698.13.camel@brick> <47CD9060.9000708@zytor.com> Content-Type: text/plain Date: Tue, 04 Mar 2008 10:14:13 -0800 Message-Id: <1204654453.5698.17.camel@brick> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 864 Lines: 26 On Tue, 2008-03-04 at 10:09 -0800, H. Peter Anvin wrote: > Harvey Harrison wrote: > > > >> __inline__ : 1380 > > > > Lots of them in include/asm-*...not sure if there is a reason for this. > > > > Preferred form for code that's exported to userspace (since gcc > complains with -ansi -pedantic otherwise.) > Figured it would be something like that. Would it be reasonable to move towards eliminating __inline? Also, since the exported headers already go through unifdef, could we move to using inline everywhere in the kernel and add a processing step to make it __inline__ in the exported headers? Harvey -- 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/