Re: [PATCH 3 of 3] Add __raw_memcpy_toio32 to each arch

From: Bryan O'Sullivan
Date: Wed Jan 11 2006 - 19:04:54 EST


On Wed, 2006-01-11 at 15:46 -0800, Andrew Morton wrote:

> How's about we add a new linux/io.h which does:
>
> #include <asm/io.h>
> void __raw_memcpy_toio32(void __iomem *to, const void *from, size_t count);

I thought about this, and about moving other duplicated definitions from
asm-*/io.h in here, but I couldn't find any other obvious candidates, so
I wasn't anxious to introduce a new file.

If you think that's OK, though, it obviously makes the patch a lot
smaller, and gives a common place to put future cross-arch definitions.

I'll run another spin of the patch with your and Roland's suggestions.

<b

-
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/