Skip to content

Commit f9c7ec1

Browse files
author
Stefano Stabellini
committed
xen/arm: p2m_init and p2m_lock should be static
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
1 parent c8999a8 commit f9c7ec1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎arch/arm/xen/p2m.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ struct xen_p2m_entry {
2525
struct rb_node rbnode_phys;
2626
};
2727

28-
rwlock_t p2m_lock;
28+
static rwlock_t p2m_lock;
2929
struct rb_root phys_to_mach = RB_ROOT;
3030
EXPORT_SYMBOL_GPL(phys_to_mach);
3131
static struct rb_root mach_to_phys = RB_ROOT;
@@ -201,7 +201,7 @@ bool __set_phys_to_machine(unsigned long pfn, unsigned long mfn)
201201
}
202202
EXPORT_SYMBOL_GPL(__set_phys_to_machine);
203203

204-
int p2m_init(void)
204+
static int p2m_init(void)
205205
{
206206
rwlock_init(&p2m_lock);
207207
return 0;

0 commit comments

Comments
 (0)