All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/xen: make xen_reservation_lock static
@ 2018-09-05  5:36 Juergen Gross
  2018-09-06 12:39 ` [tip:x86/paravirt] x86/xen: Make " tip-bot for Juergen Gross
  0 siblings, 1 reply; 2+ messages in thread
From: Juergen Gross @ 2018-09-05  5:36 UTC (permalink / raw)
  To: linux-kernel, xen-devel, x86
  Cc: boris.ostrovsky, hpa, tglx, mingo, Juergen Gross

tip.git f030aade9165 ("x86/xen: Move pv specific parts of
arch/x86/xen/mmu.c to mmu_pv.c") missed to make xen_reservation_lock
static.

Signed-off-by: Juergen Gross <jgross@suse.com>
---
 arch/x86/xen/mmu_pv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/xen/mmu_pv.c b/arch/x86/xen/mmu_pv.c
index 12180e7283b7..3a2729b83299 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:
-- 
2.16.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [tip:x86/paravirt] x86/xen: Make xen_reservation_lock static
  2018-09-05  5:36 [PATCH] x86/xen: make xen_reservation_lock static Juergen Gross
@ 2018-09-06 12:39 ` tip-bot for Juergen Gross
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Juergen Gross @ 2018-09-06 12:39 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, mingo, hpa, jgross, tglx

Commit-ID:  4f2d7af70256b258a6a5729a1d33d5ecb2330f8f
Gitweb:     https://git.kernel.org/tip/4f2d7af70256b258a6a5729a1d33d5ecb2330f8f
Author:     Juergen Gross <jgross@suse.com>
AuthorDate: Wed, 5 Sep 2018 07:36:34 +0200
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Thu, 6 Sep 2018 14:37:37 +0200

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

---
 arch/x86/xen/mmu_pv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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:

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-09-06 12:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-05  5:36 [PATCH] x86/xen: make xen_reservation_lock static Juergen Gross
2018-09-06 12:39 ` [tip:x86/paravirt] x86/xen: Make " tip-bot for Juergen Gross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.