aboutsummaryrefslogtreecommitdiff
path: root/core/interrupts.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2016-07-24 09:27:14 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-08-22 15:26:51 +1000
commitcb20094d441781ce5859b93709c337da0de50856 (patch)
treeb75f2370050a601d06ca04fbac362ebc552506ba /core/interrupts.c
parent4ec017fc77cb05a49d9c5f6de243cdfd7c825c39 (diff)
downloadskiboot-cb20094d441781ce5859b93709c337da0de50856.zip
skiboot-cb20094d441781ce5859b93709c337da0de50856.tar.gz
skiboot-cb20094d441781ce5859b93709c337da0de50856.tar.bz2
interrupts: Rename icp_prep_for_rvwinkle to icp_prep_for_pm
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/interrupts.c')
-rw-r--r--core/interrupts.c6
1 files changed, 3 insertions, 3 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;