Message ID | 1395243819-30380-4-git-send-email-julien.grall@linaro.org |
---|---|
State | Accepted, archived |
Headers | show |
On Wed, 2014-03-19 at 15:43 +0000, Julien Grall wrote: > Signed-off-by: Julien Grall <julien.grall@linaro.org> Acked-by: Ian Campbell <ian.campbell@citrix.com> > --- > xen/arch/arm/p2m.c | 2 +- > xen/include/asm-arm/p2m.h | 3 --- > 2 files changed, 1 insertion(+), 4 deletions(-) > > diff --git a/xen/arch/arm/p2m.c b/xen/arch/arm/p2m.c > index 979fe5b..403fd89 100644 > --- a/xen/arch/arm/p2m.c > +++ b/xen/arch/arm/p2m.c > @@ -35,7 +35,7 @@ void dump_p2m_lookup(struct domain *d, paddr_t addr) > unmap_domain_page(first); > } > > -void p2m_load_VTTBR(struct domain *d) > +static void p2m_load_VTTBR(struct domain *d) > { > if ( is_idle_domain(d) ) > return; > diff --git a/xen/include/asm-arm/p2m.h b/xen/include/asm-arm/p2m.h > index e1013c8..bd71abe 100644 > --- a/xen/include/asm-arm/p2m.h > +++ b/xen/include/asm-arm/p2m.h > @@ -72,9 +72,6 @@ int relinquish_p2m_mapping(struct domain *d); > */ > int p2m_alloc_table(struct domain *d); > > -/* */ > -void p2m_load_VTTBR(struct domain *d); > - > /* Context switch */ > void p2m_save_state(struct vcpu *p); > void p2m_restore_state(struct vcpu *n);
diff --git a/xen/arch/arm/p2m.c b/xen/arch/arm/p2m.c index 979fe5b..403fd89 100644 --- a/xen/arch/arm/p2m.c +++ b/xen/arch/arm/p2m.c @@ -35,7 +35,7 @@ void dump_p2m_lookup(struct domain *d, paddr_t addr) unmap_domain_page(first); } -void p2m_load_VTTBR(struct domain *d) +static void p2m_load_VTTBR(struct domain *d) { if ( is_idle_domain(d) ) return; diff --git a/xen/include/asm-arm/p2m.h b/xen/include/asm-arm/p2m.h index e1013c8..bd71abe 100644 --- a/xen/include/asm-arm/p2m.h +++ b/xen/include/asm-arm/p2m.h @@ -72,9 +72,6 @@ int relinquish_p2m_mapping(struct domain *d); */ int p2m_alloc_table(struct domain *d); -/* */ -void p2m_load_VTTBR(struct domain *d); - /* Context switch */ void p2m_save_state(struct vcpu *p); void p2m_restore_state(struct vcpu *n);
Signed-off-by: Julien Grall <julien.grall@linaro.org> --- xen/arch/arm/p2m.c | 2 +- xen/include/asm-arm/p2m.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-)