Skip to contentSkip to conversation

Nack Re: [KJ] [PATCH] is_power_of_2 in ia64mm

DISCUSSION Oleg Verych 1 participant 1 message Feb 16, 2007 Kernel janitors

lore
Share & tools
lore
#0 lore raw
Quoted 4 lines

From: Vignesh Babu BM
Newsgroups: gmane.linux.kernel.janitors,gmane.linux.kernel.mm,gmane.linux.ports.ia64,gmane.linux.kernel
Subject: [KJ] [PATCH] is_power_of_2 in ia64mm
Date: Fri, 16 Feb 2007 17:33:55 +0530

[]

Quoted 2 lines

Replacing (n & (n-1)) in the context of power of 2 checks with is_power_of_2

And this may be
* not_odd()
* ! odd()
* even()
* etc.

So, let's do not turn C in English, huh?

____

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
Kernel-janitor-discuss mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kernel-janitor-discuss