Re: [PATCH] preempt/hardirq.h: Clarify PREEMPT_ACTIVE bit location

From: Thomas Gleixner
Date: Tue Aug 14 2012 - 06:19:00 EST


On Tue, 14 Aug 2012, Srivatsa S. Bhat wrote:

>
> By default, the PREEMPT_ACTIVE flag is bit 27, but different
> architectures can override that. Update the comment to reflect
> this fact.

Is there any sensible reason why architectures need to override that?
I can't find one.

If there is none, then we should just remove all the overrides from
the arch code instead. If there is a reason, then it should be
documented.

Thanks,

tglx
--
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/