X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=kernel%2Frcutiny_plugin.h;h=fc31a2d651005dd6a912bd3487795975e33740e3;hb=fd4b352687fd8604d49c190c4c9ea9e369fd42d5;hp=22ecea0dfb62575d14fafb8e5776a11d21f309f9;hpb=a591afc01d9e48affbacb365558a31e53c85af45;p=karo-tx-linux.git diff --git a/kernel/rcutiny_plugin.h b/kernel/rcutiny_plugin.h index 22ecea0dfb62..fc31a2d65100 100644 --- a/kernel/rcutiny_plugin.h +++ b/kernel/rcutiny_plugin.h @@ -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