Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932253AbWAJRHa (ORCPT ); Tue, 10 Jan 2006 12:07:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932254AbWAJRHa (ORCPT ); Tue, 10 Jan 2006 12:07:30 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:30699 "EHLO pentafluge.infradead.org") by vger.kernel.org with ESMTP id S932253AbWAJRH3 (ORCPT ); Tue, 10 Jan 2006 12:07:29 -0500 Date: Tue, 10 Jan 2006 17:07:22 +0000 From: Christoph Hellwig To: "Bryan O'Sullivan" Cc: Roland Dreier , sam@ravnborg.org, Andrew Morton , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1 of 3] Introduce __raw_memcpy_toio32 Message-ID: <20060110170722.GA3187@infradead.org> Mail-Followup-To: Christoph Hellwig , Bryan O'Sullivan , Roland Dreier , sam@ravnborg.org, Andrew Morton , linux-kernel@vger.kernel.org References: <20060110011844.7a4a1f90.akpm@osdl.org> <1136909276.32183.28.camel@serpentine.pathscale.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1136909276.32183.28.camel@serpentine.pathscale.com> User-Agent: Mutt/1.4.2.1i X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 936 Lines: 20 On Tue, Jan 10, 2006 at 08:07:56AM -0800, Bryan O'Sullivan wrote: > I'm fine with doing that, but I wonder what an appropriate way to do it > would be. > > Really, we'd like the generic implementation to be declared in > asm-generic and defined in lib. Each arch that needed the generic > version could then have its arch/XXX/lib/Makefile modified to pull in > the generic version from lib, while arches that had special versions > could remain unencumbered. Or add a CONFIG_GENERIC_MEMCPY_IO that's non-uservisible and just set by all the architectures that don't provide their own version. And once we're at that level of complexity we should really add the _fromio version aswell ;-) - 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/