aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mm')
-rw-r--r--arch/x86/mm/pageattr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mm/pageattr.c b/arch/x86/mm/pageattr.c
index 60bcb5b6a37e..9b836ba9dedd 100644
--- a/arch/x86/mm/pageattr.c
+++ b/arch/x86/mm/pageattr.c
@@ -106,7 +106,7 @@ static void cpa_flush_all(unsigned long cache)
106{ 106{
107 BUG_ON(irqs_disabled()); 107 BUG_ON(irqs_disabled());
108 108
109 on_each_cpu(__cpa_flush_all, (void *) cache, 1, 1); 109 on_each_cpu(__cpa_flush_all, (void *) cache, 1);
110} 110}
111 111
112static void __cpa_flush_range(void *arg) 112static void __cpa_flush_range(void *arg)
@@ -127,7 +127,7 @@ static void cpa_flush_range(unsigned long start, int numpages, int cache)
127 BUG_ON(irqs_disabled()); 127 BUG_ON(irqs_disabled());
128 WARN_ON(PAGE_ALIGN(start) != start); 128 WARN_ON(PAGE_ALIGN(start) != start);
129 129
130 on_each_cpu(__cpa_flush_range, NULL, 1, 1); 130 on_each_cpu(__cpa_flush_range, NULL, 1);
131 131
132 if (!cache) 132 if (!cache)
133 return; 133 return;