MIPS: convert CONFIG_SYS_MIPS_TIMER_FREQ to Kconfig
[platform/kernel/u-boot.git] / include / wait_bit.h
index dcc5c4f..f1d70ae 100644 (file)
@@ -63,7 +63,7 @@ static inline int wait_for_bit_##sfx(const void *reg,                 \
                }                                                       \
                                                                        \
                udelay(1);                                              \
-               WATCHDOG_RESET();                                       \
+               schedule();                                     \
        }                                                               \
                                                                        \
        debug("%s: Timeout (reg=%p mask=%x wait_set=%i)\n", __func__,   \