Skip to content

Commit

Permalink
xen/arm: p2m_init and p2m_lock should be static
Browse files Browse the repository at this point in the history
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
  • Loading branch information
Stefano Stabellini committed Nov 18, 2013
1 parent c8999a8 commit f9c7ec1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/arm/xen/p2m.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ struct xen_p2m_entry {
struct rb_node rbnode_phys;
};

rwlock_t p2m_lock;
static rwlock_t p2m_lock;
struct rb_root phys_to_mach = RB_ROOT;
EXPORT_SYMBOL_GPL(phys_to_mach);
static struct rb_root mach_to_phys = RB_ROOT;
Expand Down Expand Up @@ -201,7 +201,7 @@ bool __set_phys_to_machine(unsigned long pfn, unsigned long mfn)
}
EXPORT_SYMBOL_GPL(__set_phys_to_machine);

int p2m_init(void)
static int p2m_init(void)
{
rwlock_init(&p2m_lock);
return 0;
Expand Down

0 comments on commit f9c7ec1

Please sign in to comment.