Messages in this thread | | | Date | Fri, 21 Mar 2008 12:37:00 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH] x86: parocessor.h - use PAGE_SIZE instead of numeric value v2 |
| |
* Cyrill Gorcunov <gorcunov@gmail.com> 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
| |