diff options
author | Anup Patel <anup.patel@wdc.com> | 2022-02-10 11:19:41 +0530 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2022-03-10 09:29:27 -0800 |
commit | e1de2c93e78740383db1a0ff626d8ca2cdc28aaf (patch) | |
tree | 91e7cf72242bc4924aa02dcaf8ecd2a9696f7df7 /arch/riscv/kernel/suspend_entry.S | |
parent | f6e64b66629e8fff0997825ade06619f09a06583 (diff) | |
download | linux-e1de2c93e78740383db1a0ff626d8ca2cdc28aaf.tar.gz |
RISC-V: Rename relocate() and make it global
The low-level relocate() function enables mmu and relocates
execution to link-time addresses. We rename relocate() function
to relocate_enable_mmu() function which is more informative.
Also, the relocate_enable_mmu() function will be used in the
resume path when a CPU wakes-up from a non-retentive suspend
so we make it global symbol.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Guo Ren <guoren@kernel.org>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/kernel/suspend_entry.S')
0 files changed, 0 insertions, 0 deletions