diff options
| author | Bibo Mao <maobibo@loongson.cn> | 2026-05-22 15:05:12 +0800 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2026-05-22 15:05:12 +0800 |
| commit | 4a09f4a23a3003d31f8545dd0770f2b3b0f54d8b (patch) | |
| tree | d8af4f1f69384bae692b0dc56158140d27ceaf14 /tools/testing/shared/trace | |
| parent | 1c856e158fd34ef2c4475a81c1dc386329989938 (diff) | |
LoongArch: KVM: Move some variable declarations to paravirt.h
Some variables relative with paravirt feature are declared in the header
file asm/qspinlock.h, however this file can be included only when option
CONFIG_SMP is on. There is compiling warnings if CONFIG_SMP is off since
variables are not declared.
Move these variable declarations to header file asm/paravirt.h to avoid
compiling warnings.
Fixes: c43dce6f13fb ("LoongArch: KVM: Make vcpu_is_preempted() as a macro rather than function")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202605061313.O8Hswm2b-lkp@intel.com/
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/testing/shared/trace')
0 files changed, 0 insertions, 0 deletions
