Created
November 17, 2013 23:54
-
-
Save thehajime/7519990 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/arch/sim/sim.c b/arch/sim/sim.c | |
index 574bad8..bcd9aab 100644 | |
--- a/arch/sim/sim.c | |
+++ b/arch/sim/sim.c | |
@@ -338,9 +338,8 @@ int sim_task_wakeup (struct SimTask *task) | |
} | |
void sim_task_yield (void) | |
{ | |
- rcu_idle_enter (); | |
+ rcu_sched_qs (0); | |
g_imported.task_yield (g_kernel); | |
- rcu_idle_exit (); | |
sim_update_jiffies (); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment