Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751798AbZA1TWr (ORCPT ); Wed, 28 Jan 2009 14:22:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751328AbZA1TWi (ORCPT ); Wed, 28 Jan 2009 14:22:38 -0500 Received: from wf-out-1314.google.com ([209.85.200.175]:61723 "EHLO wf-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751318AbZA1TWh (ORCPT ); Wed, 28 Jan 2009 14:22:37 -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=hoWxhArJ9T7tkElSEfWXYFYJtuT+jCoud5sQ8GEkCzP6g6BH2MtUzXe/dNu7B04or5 iurrcCs/d9MHrQ/PkMYC+uAUNRk/nu1ArFwzs1Ik9KEDCX+p6nrajdGxwnfxTyGvhTdG q5nKo4xrII+nUid6x2hYkHaUNOCS2kg0r6R1o= Subject: Re: [mingo@elte.hu: [git pull] headers_check fixes] From: Harvey Harrison To: "H. Peter Anvin" Cc: Arnd Bergmann , Jaswinder Singh Rajput , Linus Torvalds , Ingo Molnar , Linux Kernel Mailing List , Andrew Morton , Sam Ravnborg , Jaswinder Singh Rajput , "David S. Miller" In-Reply-To: <49809A65.2090501@kernel.org> References: <20090127222825.GA27097@elte.hu> <1233106614.3256.6.camel@localhost.localdomain> <200901281337.52294.arnd@arndb.de> <49809A65.2090501@kernel.org> Content-Type: text/plain Date: Wed, 28 Jan 2009 11:22:12 -0800 Message-Id: <1233170532.6717.49.camel@brick> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1118 Lines: 30 On Wed, 2009-01-28 at 09:48 -0800, H. Peter Anvin wrote: > Arnd Bergmann wrote: > > > > For the specific x86 swab code, that would certainly be the simplest > > way, user space should not be using those inline assemblies either > > way. > > > > I think the more interesting question is whether we want to export > > *any* inline helpers that are not part of the ABI to user space. > > We already killed most of them (spinlocks, atomics, ...) and what > > remains is basically just the byteorder code. All that is required > > for the ABI is the information whether the system is big- or > > little-endian, but not all the rest. > > > > In general, no. The byteswap API is a legacy exception. > But now that swab.h has been separated out, we could just stop exporting the asm/swab.h bits while still providing a generic C-based implementation to userspace. 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/