]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/sched.c
block: do_mounts - accept root=<non-existant partition>
[linux-2.6-omap-h63xx.git] / kernel / sched.c
index c51b6565e07c94907cc9259e67a09c335858e529..8841a915545dfd84a8ed9c6f9e49c777963fd3c9 100644 (file)
@@ -5525,7 +5525,6 @@ static void __cond_resched(void)
        } while (need_resched());
 }
 
-#if !defined(CONFIG_PREEMPT) || defined(CONFIG_PREEMPT_VOLUNTARY)
 int __sched _cond_resched(void)
 {
        if (need_resched() && !(preempt_count() & PREEMPT_ACTIVE) &&
@@ -5536,7 +5535,6 @@ int __sched _cond_resched(void)
        return 0;
 }
 EXPORT_SYMBOL(_cond_resched);
-#endif
 
 /*
  * cond_resched_lock() - if a reschedule is pending, drop the given lock,