lkml.org 
[lkml]   [2008]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-03-21 12:39    [W:0.030 / U:1.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site