Messages in this thread | | | Subject | Re: lockdep: results on ARM | From | Arjan van de Ven <> | Date | Thu, 27 Jul 2006 16:32:03 +0200 |
| |
On Thu, 2006-07-27 at 15:24 +0100, Russell King wrote: > +#ifdef __ARCH_WANT_INTERRUPTS_ON_CTXSW > + p->hardirqs_enabled = 1; > +#else > p->hardirqs_enabled = 0; > +#endif
if __ARCH_WANT_INTERRUPTS_ON_CTXSW is set to 1 for arm you can turn this into
p->hardirqs_enabled = __ARCH_WANT_INTERRUPTS_ON_CTXSW + 0;
and save the ifdef ;)
- 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/
| |