Skip to content

Instantly share code, notes, and snippets.

@thehajime
Created November 17, 2013 23:54
Show Gist options
  • Save thehajime/7519990 to your computer and use it in GitHub Desktop.
Save thehajime/7519990 to your computer and use it in GitHub Desktop.
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