diff options
author | Purna Pavan Chandra Aekkaladevi <paekkaladevi@linux.microsoft.com> | 2024-03-18 15:09:11 +0300 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2024-03-19 00:56:19 +0300 |
commit | eac03d81cdd941358511ffb8c19bd7d384874430 (patch) | |
tree | d76687536235366dc891ac522364e57d0a7d3a35 /arch/x86/hyperv/hv_spinlock.c | |
parent | b967df6293510b6e1f53cba56e2475b2aa50be7e (diff) | |
download | linux-eac03d81cdd941358511ffb8c19bd7d384874430.tar.xz |
x86/hyperv: Cosmetic changes for hv_spinlock.c
Fix issues reported by checkpatch.pl script for hv_spinlock.c file.
- Place __initdata after variable name
- Add missing blank line after enum declaration
No functional changes intended.
Signed-off-by: Purna Pavan Chandra Aekkaladevi <paekkaladevi@linux.microsoft.com>
Reviewed-by: Saurabh Sengar <ssengar@linux.microsoft.com>
Link: https://lore.kernel.org/r/1710763751-14137-1-git-send-email-paekkaladevi@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <1710763751-14137-1-git-send-email-paekkaladevi@linux.microsoft.com>
Diffstat (limited to 'arch/x86/hyperv/hv_spinlock.c')
-rw-r--r-- | arch/x86/hyperv/hv_spinlock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/hyperv/hv_spinlock.c b/arch/x86/hyperv/hv_spinlock.c index 737d6f7a6155..151e851bef09 100644 --- a/arch/x86/hyperv/hv_spinlock.c +++ b/arch/x86/hyperv/hv_spinlock.c @@ -16,7 +16,7 @@ #include <asm/paravirt.h> #include <asm/apic.h> -static bool __initdata hv_pvspin = true; +static bool hv_pvspin __initdata = true; static void hv_qlock_kick(int cpu) { @@ -64,6 +64,7 @@ __visible bool hv_vcpu_is_preempted(int vcpu) { return false; } + PV_CALLEE_SAVE_REGS_THUNK(hv_vcpu_is_preempted); void __init hv_init_spinlocks(void) |