[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20091002113946.172dc982.kamezawa.hiroyu@jp.fujitsu.com>
Date: Fri, 2 Oct 2009 11:39:46 +0900
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
Cc: Hugh Dickins <hugh.dickins@...cali.co.uk>,
Wu Fengguang <fengguang.wu@...el.com>,
Nigel Cunningham <ncunningham@...a.org.au>,
LKML <linux-kernel@...r.kernel.org>,
"linux-mm@...ck.org" <linux-mm@...ck.org>
Subject: Re: No more bits in vm_area_struct's vm_flags.
On Fri, 2 Oct 2009 10:37:55 +0900
KAMEZAWA Hiroyuki <kamezawa.hiroyu@...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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists