diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2016-07-24 09:27:10 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-08-22 15:26:51 +1000 |
commit | 3476b2ad3a5a53c92ec5e358dd9c28f5ef09c96d (patch) | |
tree | 3e738f9ba29612c8c4e3ae232a66e2dff1d7d411 /hw | |
parent | f3ebe66f015e04a2e3a4414d24b3dba90ad3b893 (diff) | |
download | skiboot-3476b2ad3a5a53c92ec5e358dd9c28f5ef09c96d.zip skiboot-3476b2ad3a5a53c92ec5e358dd9c28f5ef09c96d.tar.gz skiboot-3476b2ad3a5a53c92ec5e358dd9c28f5ef09c96d.tar.bz2 |
Rename enter_rvwinkle to enter_pm_state
And add an argument to specify whether to enter nap or rvwinkle
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/slw.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -49,9 +49,6 @@ static uint32_t slw_timer_chip; static uint64_t slw_last_gen; static uint64_t slw_last_gen_stamp; -/* Assembly in head.S */ -extern void enter_rvwinkle(void); - DEFINE_LOG_ENTRY(OPAL_RC_SLW_INIT, OPAL_PLATFORM_ERR_EVT, OPAL_SLW, OPAL_PLATFORM_FIRMWARE, OPAL_PREDICTIVE_ERR_GENERAL, OPAL_NA); @@ -88,7 +85,7 @@ static void slw_do_rvwinkle(void *data) /* Tell that we got it */ cpu->state = cpu_state_rvwinkle; - enter_rvwinkle(); + enter_pm_state(1); /* Ok, it's ours again */ cpu->state = cpu_state_active; |