]> 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)
commit504ac5499fbb79e95c00df0cc2fc9b6ff3b5ae16
tree203050c8e9a92a31c3aa4f0f487dac194add4d4d
parente3b6bd3fa45721742ef12e8519a10f9002e0a829
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: 712eb72f3e40 ("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