powerpc/64: Rename soft_enabled to irq_soft_mask
Rename the paca->soft_enabled to paca->irq_soft_mask as it is no longer used as a flag for interrupt state, but a mask. Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

parent
01417c6cc7
commit
4e26bc4a4e
@@ -244,7 +244,7 @@ static u64 scan_dispatch_log(u64 stop_tb)
|
||||
void accumulate_stolen_time(void)
|
||||
{
|
||||
u64 sst, ust;
|
||||
unsigned long save_soft_enabled = soft_enabled_return();
|
||||
unsigned long save_irq_soft_mask = irq_soft_mask_return();
|
||||
struct cpu_accounting_data *acct = &local_paca->accounting;
|
||||
|
||||
/* We are called early in the exception entry, before
|
||||
@@ -253,7 +253,7 @@ void accumulate_stolen_time(void)
|
||||
* needs to reflect that so various debug stuff doesn't
|
||||
* complain
|
||||
*/
|
||||
soft_enabled_set(IRQS_DISABLED);
|
||||
irq_soft_mask_set(IRQS_DISABLED);
|
||||
|
||||
sst = scan_dispatch_log(acct->starttime_user);
|
||||
ust = scan_dispatch_log(acct->starttime);
|
||||
@@ -261,7 +261,7 @@ void accumulate_stolen_time(void)
|
||||
acct->utime -= ust;
|
||||
acct->steal_time += ust + sst;
|
||||
|
||||
soft_enabled_set(save_soft_enabled);
|
||||
irq_soft_mask_set(save_irq_soft_mask);
|
||||
}
|
||||
|
||||
static inline u64 calculate_stolen_time(u64 stop_tb)
|
||||
|
Reference in New Issue
Block a user