Use is_pow2() function, where possible, instead of IS_POW2 macro.
authorBen Pfaff <blp@nicira.com>
Fri, 1 Feb 2013 22:55:14 +0000 (14:55 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 1 Feb 2013 22:55:14 +0000 (14:55 -0800)
commitcc2862a93261e9fc9c3880982a9f45e10061733f
treee96f08b12cabcfb873c33e52b1c9753fa90b7788
parentb36db1148939c1ca7af3c3973252fea3fbf1c4e6
Use is_pow2() function, where possible, instead of IS_POW2 macro.

The IS_POW2 macro is meant for use in contexts where a function call is not
allowed.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
lib/util.c
utilities/ovs-ofctl.c