Re: [PATCH 1 of 3] Introduce __raw_memcpy_toio32

From: Christoph Hellwig
Date: Tue Jan 10 2006 - 12:06:11 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/