Commit eac03d81 authored by Purna Pavan Chandra Aekkaladevi's avatar Purna Pavan Chandra Aekkaladevi Committed by Wei Liu

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: default avatarPurna Pavan Chandra Aekkaladevi <paekkaladevi@linux.microsoft.com>
Reviewed-by: default avatarSaurabh Sengar <ssengar@linux.microsoft.com>
Link: https://lore.kernel.org/r/1710763751-14137-1-git-send-email-paekkaladevi@linux.microsoft.comSigned-off-by: default avatarWei Liu <wei.liu@kernel.org>
Message-ID: <1710763751-14137-1-git-send-email-paekkaladevi@linux.microsoft.com>
parent b967df62
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include <asm/paravirt.h> #include <asm/paravirt.h>
#include <asm/apic.h> #include <asm/apic.h>
static bool __initdata hv_pvspin = true; static bool hv_pvspin __initdata = true;
static void hv_qlock_kick(int cpu) static void hv_qlock_kick(int cpu)
{ {
...@@ -64,6 +64,7 @@ __visible bool hv_vcpu_is_preempted(int vcpu) ...@@ -64,6 +64,7 @@ __visible bool hv_vcpu_is_preempted(int vcpu)
{ {
return false; return false;
} }
PV_CALLEE_SAVE_REGS_THUNK(hv_vcpu_is_preempted); PV_CALLEE_SAVE_REGS_THUNK(hv_vcpu_is_preempted);
void __init hv_init_spinlocks(void) void __init hv_init_spinlocks(void)
......
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