lkml.org 
[lkml]   [2009]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: No more bits in vm_area_struct's vm_flags.
On Fri, 2 Oct 2009 10:37:55 +0900
KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:
> This one
> ==
> #define FLAG (0x20)
>
> int foo(unsigned long long x)
> {
> if (x & ~FLAG)
> return 1;
> return 0;
> }
>
Then, !!(x & ~FLAG) is necessary...i see (>_<
Maybe no problem..

Thanks,
-Kame



\
 
 \ /
  Last update: 2009-10-02 04:45    [W:0.077 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site