[RFC PATCH tip] x86/mm/pat: __cpa_flush_tlb() can be static

From: kbuild test robot
Date: Sat Nov 23 2019 - 10:31:03 EST



Fixes: b2c61e70ccca ("x86/mm/pat: Move the memtype related files to arch/x86/mm/pat/")
Signed-off-by: kbuild test robot <lkp@xxxxxxxxx>
---
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 eca88239efea2..4a1e9c2e59e97 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;