diff options
| author | Anton Blanchard <[email protected]> | 2024-08-08 02:14:17 +0000 |
|---|---|---|
| committer | Leo Yu-Chi Liang <[email protected]> | 2024-10-29 19:58:14 +0800 |
| commit | 8e1acda14ea0ac08a77ea7d3d40ab7255ccbe4c5 (patch) | |
| tree | ee007052b3eda1aa665741fecb69f2de7a4234df /arch/riscv/include | |
| parent | 9d688e6da5c97fc7758bfa2367fe29cb75ae4868 (diff) | |
riscv: resume needs to be a global
If we take an exception before u-boot is relocated, there's a good
chance we will end up in an endless loop of exceptions because resume is
invalid until after relocation.
Signed-off-by: Anton Blanchard <[email protected]>
Reviewed-by: Leo Yu-Chi Liang <[email protected]>
Diffstat (limited to 'arch/riscv/include')
| -rw-r--r-- | arch/riscv/include/asm/global_data.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/global_data.h b/arch/riscv/include/asm/global_data.h index 593d9276d35..d356752a56a 100644 --- a/arch/riscv/include/asm/global_data.h +++ b/arch/riscv/include/asm/global_data.h @@ -42,6 +42,7 @@ struct arch_global_data { #ifdef CONFIG_SMBIOS ulong smbios_start; /* Start address of SMBIOS table */ #endif + struct resume_data *resume; }; #include <asm-generic/global_data.h> |
