On Mon, 24 Aug 2015, Shenwei Wang wrote:
> > That's what you want achieve. Still you save the full content of the
> > registers and
> > restore the full content. That saves/restores the enabled and disabled
> > interrupts.
> > So enabled_irqs is a misnomer as you save the full state.
>
> How about change its name to "saved_irq_mask"?
Way better.
Thanks,
tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/