x86/hyperv: Cosmetic changes for hv_spinlock.c
Subsystems (3)
PATCH 1/1 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 chagnes intended.
Signed-off-by Purna Pavan Chandra Aekkaladevi <[email protected]>
--- arch/x86/hyperv/hv_spinlock.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/x86/hyperv/hv_spinlock.c +2 -1
@@ -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 )
Signature · 1 line
2.34.1
Quoted 5 lines · Purna Pavan Chandra Aekkaladevi
Fix issues reported by checkpatch.pl script for
hv_spinlock.cfile.
- Place__initdataafter variable name
- Add missing blank line after enum declarationNo functional chagnes intended.
s/chagnes/changes/
with this,
Reviewed-by Saurabh Sengar <[email protected]>
Quoted 30 lines
Signed-off-by Purna Pavan Chandra Aekkaladevi <[email protected]>--- arch/x86/hyperv/hv_spinlock.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)arch/x86/hyperv/hv_spinlock.c +2
-1@@ -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 )Signature · 1 line
2.34.1
Quoted 5 lines · Saurabh Singh Sengar
Quoted 4 lines · Purna Pavan Chandra Aekkaladevi
Fix issues reported by checkpatch.pl script for
hv_spinlock.cfile.
- Place__initdataafter variable name
- Add missing blank line after enum declaration
Quoted 7 lines
Quoted 1 line
No functional chagnes intended.
s/chagnes/changes/
with this,
Reviewed-by Saurabh Sengar <[email protected]>
Applied. Thanks.