Re: [PATCH 0 of 4] x86: some more patches

From: Ingo Molnar
Date: Wed Jan 16 2008 - 11:06:27 EST



* Ingo Molnar <mingo@xxxxxxx> wrote:

> -#define PAGE_MASK (~(PAGE_SIZE-1))
> +#define PAGE_MASK (_AT(phys_addr_t, ~(PAGE_SIZE-1)))

that should be:

#define PAGE_MASK (_AT(phys_addr_t, PAGE_SIZE)-1)

but still - PAGE_MASK is used in a lot of places so i'm nervous about
this change.

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