]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 11:57:21 +0000 (13:57 +0200)
commitbf0466f87aa2d22a42e45a4734a85c3e174b2ff8
treec1a229be70a990f3e5ed9efdc90c51879f1e99e5
parentb91e1db8a8fa56ce57410368b230527e1547439e
RISC-V: Declare per cpu boot data as static

commit f1de125766d6f377a4b5d5821bc12928f929a4eb upstream.

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

Fixes: 9a2451f18663 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/riscv/kernel/cpu_ops_sbi.c