Whamcloud - gitweb
LU-4423 libcfs: remove IS_PO2 and __is_po2
[fs/lustre-release.git] / lnet / selftest / selftest.h
index 9fecaad..b8c1e04 100644 (file)
@@ -573,7 +573,7 @@ swi_state2str (int state)
 do {                                                                   \
        int __I = 2;                                                    \
        while (!(cond)) {                                               \
 do {                                                                   \
        int __I = 2;                                                    \
        while (!(cond)) {                                               \
-               CDEBUG(IS_PO2(++__I) ? D_WARNING : D_NET,               \
+               CDEBUG(is_power_of_2(++__I) ? D_WARNING : D_NET,        \
                       fmt, ## __VA_ARGS__);                            \
                spin_unlock(&(lock));                                   \
                                                                        \
                       fmt, ## __VA_ARGS__);                            \
                spin_unlock(&(lock));                                   \
                                                                        \