Re: [Patch] rcupdate: remove dead code

From: Paul E. McKenney
Date: Mon Jan 31 2011 - 02:59:35 EST


On Sun, Jan 30, 2011 at 06:25:48PM +0800, Cong Wang wrote:
> ä 2011å01æ30æ 18:23, Amerigo Wang åé:
> >DEBUG_OBJECTS_RCU_HEAD depends on PREEMPT, so #ifndef CONFIG_PREEMPT
> >is totally useless in kernel/rcupdate.c.
>
> By "useless" I meant the code under #ifdef CONFIG_DEBUG_OBJECTS_RCU_HEAD,
> of course. :)

Yep, I did interpret it that way. ;-)

Thanx, Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/