[PATCH 14/16] arch: x86: xen: Mark internal function xen_flush_tlb_all static.

From: Darshana Padmadas
Date: Wed Mar 04 2015 - 08:35:19 EST


xen_flush_tlb_all is defined only in mmu.c, so mark it static.

This eliminates the following gcc warning:

arch/x86/xen/mmu.c:1211:6: warning: no previous prototype for âxen_flush_tlb_allâ [-Wmissing-prototypes]

Signed-off-by: Darshana Padmadas <darshanapadmadas@xxxxxxxxx>
---
arch/x86/xen/mmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c
index 5c1f9ac..14e2fc1 100644
--- a/arch/x86/xen/mmu.c
+++ b/arch/x86/xen/mmu.c
@@ -1208,7 +1208,7 @@ unsigned long xen_read_cr2_direct(void)
return this_cpu_read(xen_vcpu_info.arch.cr2);
}

-void xen_flush_tlb_all(void)
+static void xen_flush_tlb_all(void)
{
struct mmuext_op *op;
struct multicall_space mcs;
--
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/