Messages in this thread | | | Date | Fri, 20 Aug 2004 09:58:39 -0700 | From | "David S. Miller" <> | Subject | Re: [PATCH] PPC64 Better little-endian bitops |
| |
On Fri, 20 Aug 2004 17:05:26 +1000 Paul Mackerras <paulus@samba.org> wrote:
> Below patch reuses the big-endian bitops for the little endian ones, and > moves the ext2_{set,clear}_bit_atomic functions to be truly atomic > instead of lock based. > > This requires that the bitmaps passed to the ext2_* bitop functions > are 8-byte aligned. I have been assured that they will be 512-byte or > 1024-byte aligned, and sparc and ppc32 also impose an alignment > requirement on the bitmap.
Nice. I noticed this trick before in the s390 headers. I'll do this on sparc64 too... - 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/
| |