summaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/mmu_pv.c
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2018-09-05 07:36:34 +0200
committerThomas Gleixner <tglx@linutronix.de>2018-09-06 14:37:37 +0200
commit4f2d7af70256b258a6a5729a1d33d5ecb2330f8f (patch)
tree2893ef8a0ba6295bfe90149c0cea65a2b72172cb /arch/x86/xen/mmu_pv.c
parent495310e4f2dd857c4d5a62806a04cb8ba53855c1 (diff)
downloadlinux-4f2d7af70256b258a6a5729a1d33d5ecb2330f8f.tar.bz2
x86/xen: Make xen_reservation_lock static
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
Diffstat (limited to 'arch/x86/xen/mmu_pv.c')
-rw-r--r--arch/x86/xen/mmu_pv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/mmu_pv.c b/arch/x86/xen/mmu_pv.c
index bf30fa03582e..7ada9e489f65 100644
--- a/arch/x86/xen/mmu_pv.c
+++ b/arch/x86/xen/mmu_pv.c
@@ -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: