]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - kernel/rcutiny_plugin.h
Merge tag 'gpio-for-linus' of git://git.secretlab.ca/git/linux-2.6
[karo-tx-linux.git] / kernel / rcutiny_plugin.h
index 22ecea0dfb62575d14fafb8e5776a11d21f309f9..fc31a2d651005dd6a912bd3487795975e33740e3 100644 (file)
@@ -851,22 +851,6 @@ int rcu_preempt_needs_cpu(void)
        return rcu_preempt_ctrlblk.rcb.rcucblist != NULL;
 }
 
-/*
- * Check for a task exiting while in a preemptible -RCU read-side
- * critical section, clean up if so.  No need to issue warnings,
- * as debug_check_no_locks_held() already does this if lockdep
- * is enabled.
- */
-void exit_rcu(void)
-{
-       struct task_struct *t = current;
-
-       if (t->rcu_read_lock_nesting == 0)
-               return;
-       t->rcu_read_lock_nesting = 1;
-       __rcu_read_unlock();
-}
-
 #else /* #ifdef CONFIG_TINY_PREEMPT_RCU */
 
 #ifdef CONFIG_RCU_TRACE