Re: [1/4] standardize bit waiting data type
From: Andrew Morton
Date: Sat Aug 28 2004 - 01:23:30 EST
William Lee Irwin III <wli@xxxxxxxxxxxxxx> wrote:
>
> void fastcall unlock_page(struct page *page)
> {
> + unsigned long *word = (unsigned long *)&page->flags;
This will break if a little-endian 64-bit architecture elects to use a
32-bit page_flags_t.
-
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/