|
@@ -2660,6 +2660,7 @@ asmlinkage void __sched notrace preempt_schedule(void)
|
|
|
} while (need_resched());
|
|
|
}
|
|
|
EXPORT_SYMBOL(preempt_schedule);
|
|
|
+#endif /* CONFIG_PREEMPT */
|
|
|
|
|
|
/*
|
|
|
* this is the entry point to schedule() from kernel preemption
|
|
@@ -2693,8 +2694,6 @@ asmlinkage void __sched preempt_schedule_irq(void)
|
|
|
exception_exit(prev_state);
|
|
|
}
|
|
|
|
|
|
-#endif /* CONFIG_PREEMPT */
|
|
|
-
|
|
|
int default_wake_function(wait_queue_t *curr, unsigned mode, int wake_flags,
|
|
|
void *key)
|
|
|
{
|