]> git.baikalelectronics.ru Git - kernel.git/commit
RISC-V: Declare per cpu boot data as static
authorAtish Patra <atishp@rivosinc.com>
Wed, 23 Mar 2022 17:17:26 +0000 (10:17 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 31 Mar 2022 19:44:32 +0000 (12:44 -0700)
commit0f7c5d30e1ffb40dc0d54ac118d850127e2becfa
tree203050c8e9a92a31c3aa4f0f487dac194add4d4d
parente67f253495648467de188c85f7b3200d412e9d63
RISC-V: Declare per cpu boot data as static

The per cpu boot data is only used within the cpu_ops_sbi.c. It can
be delcared as static.

Fixes: e1940a25864d ("RISC-V: Avoid using per cpu array for ordered booting")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Atish Patra <atishp@rivosinc.com>
Cc: stable@vger.kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/cpu_ops_sbi.c