diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/fast-reboot.c | 2 | ||||
-rw-r--r-- | core/init.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/fast-reboot.c b/core/fast-reboot.c index 8e95d834..02ef8464 100644 --- a/core/fast-reboot.c +++ b/core/fast-reboot.c @@ -172,7 +172,7 @@ void fast_reboot(void) /* Restore skiboot vectors */ copy_exception_vectors(); - setup_reset_vector(); + copy_sreset_vector(); /* Send everyone else to 0x100 */ if (sreset_all_others() != OPAL_SUCCESS) { diff --git a/core/init.c b/core/init.c index 262ac5fb..a2ddbae1 100644 --- a/core/init.c +++ b/core/init.c @@ -748,7 +748,7 @@ static void setup_branch_null_catcher(void) } #endif -void setup_reset_vector(void) +void copy_sreset_vector(void) { uint32_t *src, *dst; @@ -1067,7 +1067,7 @@ void __noreturn __nomcount main_cpu_entry(const void *fdt) /* We can now overwrite the 0x100 vector as we are no longer being * entered there. */ - setup_reset_vector(); + copy_sreset_vector(); /* We can now do NAP mode */ cpu_set_sreset_enable(true); |