mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 20:14:06 +02:00
arm64: smp: Make cpus_stuck_in_kernel static
Fix the following sparse warning: arch/arm64/kernel/smp.c:68:5: warning: symbol 'cpus_stuck_in_kernel' was not declared. Should it be static? Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zou Wei <zou_wei@huawei.com> Link: https://lore.kernel.org/r/1587623606-96698-1-git-send-email-zou_wei@huawei.com Signed-off-by: Will Deacon <will@kernel.org>
This commit is contained in:
parent
0dd2334fd5
commit
2eaf63ba84
|
|
@ -65,7 +65,7 @@ EXPORT_PER_CPU_SYMBOL(cpu_number);
|
||||||
*/
|
*/
|
||||||
struct secondary_data secondary_data;
|
struct secondary_data secondary_data;
|
||||||
/* Number of CPUs which aren't online, but looping in kernel text. */
|
/* Number of CPUs which aren't online, but looping in kernel text. */
|
||||||
int cpus_stuck_in_kernel;
|
static int cpus_stuck_in_kernel;
|
||||||
|
|
||||||
enum ipi_msg_type {
|
enum ipi_msg_type {
|
||||||
IPI_RESCHEDULE,
|
IPI_RESCHEDULE,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user