Commit 2eaf63ba authored by Zou Wei's avatar Zou Wei Committed by Will Deacon

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: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarZou Wei <zou_wei@huawei.com>
Link: https://lore.kernel.org/r/1587623606-96698-1-git-send-email-zou_wei@huawei.comSigned-off-by: default avatarWill Deacon <will@kernel.org>
parent 0dd2334f
...@@ -65,7 +65,7 @@ EXPORT_PER_CPU_SYMBOL(cpu_number); ...@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment