diff options
-rw-r--r-- | core/interrupts.c | 6 | ||||
-rw-r--r-- | hw/slw.c | 2 | ||||
-rw-r--r-- | include/interrupts.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/core/interrupts.c b/core/interrupts.c index 2d3a09a..30c5bc9 100644 --- a/core/interrupts.c +++ b/core/interrupts.c @@ -270,10 +270,10 @@ void icp_send_eoi(uint32_t interrupt) out_be32(icp + ICP_XIRR, interrupt & 0xffffff); } -/* This is called before winkle, we clear pending IPIs and set our priority - * to 1 to mask all but the IPI +/* This is called before winkle or nap, we clear pending IPIs and + * set our priority to 1 to mask all but the IPI. */ -void icp_prep_for_rvwinkle(void) +void icp_prep_for_pm(void) { void *icp = this_cpu()->icp_regs; @@ -74,7 +74,7 @@ static void slw_do_rvwinkle(void *data) struct proc_chip *chip; /* Setup our ICP to receive IPIs */ - icp_prep_for_rvwinkle(); + icp_prep_for_pm(); /* Setup LPCR to wakeup on external interrupts only */ mtspr(SPR_LPCR, ((lpcr & ~SPR_LPCR_P8_PECE) | SPR_LPCR_P8_PECE2)); diff --git a/include/interrupts.h b/include/interrupts.h index 2f8c275..465073b 100644 --- a/include/interrupts.h +++ b/include/interrupts.h @@ -307,7 +307,7 @@ struct cpu_thread; extern void reset_cpu_icp(void); extern void icp_send_eoi(uint32_t interrupt); -extern void icp_prep_for_rvwinkle(void); +extern void icp_prep_for_pm(void); extern void icp_kick_cpu(struct cpu_thread *cpu); extern void init_interrupts(void); |