[PATCH 03/13] powerpc: move set_soft_enabled() and rename

Nicholas Piggin npiggin at gmail.com
Fri Sep 16 19:50:49 AEST 2016


On Thu, 15 Sep 2016 18:31:53 +0530
Madhavan Srinivasan <maddy at linux.vnet.ibm.com> wrote:

> Move set_soft_enabled() from powerpc/kernel/irq.c to
> asm/hw_irq.c. and rename it soft_enabled_set().
> THis way paca->soft_enabled updates can be forced.

Could you just tidy up the changelog a little?

You are renaming it I assume because you are going to introduce more
soft_enabled_x() functions, and that the namespace works better as a
prefix than a postfix.

You are moving it so all paca->soft_enabled updates can be done via
these access functions rather than open coded.

Did I get that right?

Reviewed-by: Nicholas Piggin <npiggin at gmail.com>


More information about the Linuxppc-dev mailing list