Hi Andrew,
The following patch fixes a typo for preemptive kernels.
Later I will submit a full rcu_ltimer patch that contains
the call_rcu_preempt() interface which can be useful for
module unloading and the likes. This doesn't affect
the non-preemption path.
Thanks
-- Dipankar Sarma <dipankar@in.ibm.com> http://lse.sourceforge.net Linux Technology Center, IBM Software Lab, Bangalore, India.
--- include/linux/rcupdate.h Mon Sep 23 11:47:26 2002 +++ /tmp/rcupdate.h Mon Sep 23 12:45:21 2002 @@ -116,7 +116,7 @@ return 0; } -#ifdef CONFIG_PREEMPTION +#ifdef CONFIG_PREEMPT #define rcu_read_lock() preempt_disable() #define rcu_read_unlock() preempt_enable() #else - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/