diff options
| author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2013-11-17 11:31:34 -0500 |
|---|---|---|
| committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2013-11-18 10:33:10 -0500 |
| commit | f9c7ec1649607d68a47ab99e2ebb3379a2016157 (patch) | |
| tree | 25df216193ea0dc3f84723d90db8c3f6e7b411ff | |
| parent | c8999a889f466bd4e4db45337a43b8544b91c550 (diff) | |
xen/arm: p2m_init and p2m_lock should be static
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
| -rw-r--r-- | arch/arm/xen/p2m.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/xen/p2m.c b/arch/arm/xen/p2m.c index 0f842e858790..b31ee1b275b0 100644 --- a/arch/arm/xen/p2m.c +++ b/arch/arm/xen/p2m.c | |||
| @@ -25,7 +25,7 @@ struct xen_p2m_entry { | |||
| 25 | struct rb_node rbnode_phys; | 25 | struct rb_node rbnode_phys; |
| 26 | }; | 26 | }; |
| 27 | 27 | ||
| 28 | rwlock_t p2m_lock; | 28 | static rwlock_t p2m_lock; |
| 29 | struct rb_root phys_to_mach = RB_ROOT; | 29 | struct rb_root phys_to_mach = RB_ROOT; |
| 30 | EXPORT_SYMBOL_GPL(phys_to_mach); | 30 | EXPORT_SYMBOL_GPL(phys_to_mach); |
| 31 | static struct rb_root mach_to_phys = RB_ROOT; | 31 | static struct rb_root mach_to_phys = RB_ROOT; |
| @@ -201,7 +201,7 @@ bool __set_phys_to_machine(unsigned long pfn, unsigned long mfn) | |||
| 201 | } | 201 | } |
| 202 | EXPORT_SYMBOL_GPL(__set_phys_to_machine); | 202 | EXPORT_SYMBOL_GPL(__set_phys_to_machine); |
| 203 | 203 | ||
| 204 | int p2m_init(void) | 204 | static int p2m_init(void) |
| 205 | { | 205 | { |
| 206 | rwlock_init(&p2m_lock); | 206 | rwlock_init(&p2m_lock); |
| 207 | return 0; | 207 | return 0; |
