Skip to content

Commit 4f2d7af

Browse files
jgross1KAGA-KOKO
authored andcommitted
x86/xen: Make xen_reservation_lock static
No users outside of that file. Fixes: f030aad ("x86/xen: Move pv specific parts of arch/x86/xen/mmu.c to mmu_pv.c") Signed-off-by: Juergen Gross <jgross@suse.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: xen-devel@lists.xenproject.org Cc: boris.ostrovsky@oracle.com Cc: hpa@zytor.com Link: https://lkml.kernel.org/r/20180905053634.13648-1-jgross@suse.com
1 parent 495310e commit 4f2d7af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/xen/mmu_pv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ static pud_t level3_user_vsyscall[PTRS_PER_PUD] __page_aligned_bss;
104104
* Protects atomic reservation decrease/increase against concurrent increases.
105105
* Also protects non-atomic updates of current_pages and balloon lists.
106106
*/
107-
DEFINE_SPINLOCK(xen_reservation_lock);
107+
static DEFINE_SPINLOCK(xen_reservation_lock);
108108

109109
/*
110110
* Note about cr3 (pagetable base) values:

0 commit comments

Comments
 (0)