Re: [PATCH] x86: parocessor.h - use PAGE_SIZE instead of numericvalue v2

From: Ingo Molnar
Date: Fri Mar 21 2008 - 07:37:29 EST



* Cyrill Gorcunov <gorcunov@xxxxxxxxx> wrote:

> This patch replaces numeric constant with an appropriate macro
>
> Also 0x800000000000UL is changed to bit shifting which is complement
> to the code comment (thanks hpa for notice)

> -#define TASK_SIZE64 (0x800000000000UL - 4096)
> +#define TASK_SIZE64 ((1UL << 47) - PAGE_SIZE)

thanks Cyrill, applied.

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/