[tip: x86/mm] x86/mm/pat: Mark __cpa_flush_tlb() as static

From: tip-bot2 for kbuild test robot
Date: Fri Jan 10 2020 - 13:00:02 EST


The following commit has been merged into the x86/mm branch of tip:

Commit-ID: da9144c5ad8943f9003ec4a6a0200637b4ba9ebd
Gitweb: https://git.kernel.org/tip/da9144c5ad8943f9003ec4a6a0200637b4ba9ebd
Author: kbuild test robot <lkp@xxxxxxxxx>
AuthorDate: Sat, 23 Nov 2019 23:30:23 +08:00
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitterDate: Tue, 10 Dec 2019 10:12:55 +01:00

x86/mm/pat: Mark __cpa_flush_tlb() as static

Signed-off-by: kbuild test robot <lkp@xxxxxxxxx>
Link: https://lkml.kernel.org/r/20191123153023.bj6m66scjeubhbjg@4978f4969bb8
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
---
arch/x86/mm/pat/set_memory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/mm/pat/set_memory.c b/arch/x86/mm/pat/set_memory.c
index d4ab493..2082339 100644
--- a/arch/x86/mm/pat/set_memory.c
+++ b/arch/x86/mm/pat/set_memory.c
@@ -331,7 +331,7 @@ static void cpa_flush_all(unsigned long cache)
on_each_cpu(__cpa_flush_all, (void *) cache, 1);
}

-void __cpa_flush_tlb(void *data)
+static void __cpa_flush_tlb(void *data)
{
struct cpa_data *cpa = data;
unsigned int i;