]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
x86/xen: Make xen_reservation_lock static
authorJuergen Gross <jgross@suse.com>
Wed, 5 Sep 2018 05:36:34 +0000 (07:36 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 6 Sep 2018 12:37:37 +0000 (14:37 +0200)
No users outside of that file.

Fixes: f030aade9165 ("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
arch/x86/xen/mmu_pv.c

index bf30fa03582e2df948e5a6797e6e82a722caea23..7ada9e489f65785bf257f2203c67ed21d1783ee9 100644 (file)
@@ -104,7 +104,7 @@ static pud_t level3_user_vsyscall[PTRS_PER_PUD] __page_aligned_bss;
  * Protects atomic reservation decrease/increase against concurrent increases.
  * Also protects non-atomic updates of current_pages and balloon lists.
  */
-DEFINE_SPINLOCK(xen_reservation_lock);
+static DEFINE_SPINLOCK(xen_reservation_lock);
 
 /*
  * Note about cr3 (pagetable base) values: