]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
LoongArch: Remove some extern variables in source files
authorTiezhu Yang <yangtiezhu@loongson.cn>
Tue, 10 Feb 2026 11:31:14 +0000 (19:31 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Tue, 10 Feb 2026 11:31:14 +0000 (19:31 +0800)
commit0e6f596d6ac635e80bb265d587b2287ef8fa1cd6
tree5570db93ebe84ac54f48ae004b4a96f149eebd83
parent70b0faae3590c628a98a627a10e5d211310169d4
LoongArch: Remove some extern variables in source files

There are declarations of the variable "eentry", "pcpu_handlers[]" and
"exception_handlers[]" in asm/setup.h, the source files already include
this header file directly or indirectly, so no need to declare them in
the source files, just remove the code.

Cc: stable@vger.kernel.org
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kernel/unwind_orc.c
arch/loongarch/kernel/unwind_prologue.c
arch/loongarch/mm/tlb.c