aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/mm/kmmio.c4
-rw-r--r--arch/x86/mm/mmio-mod.c7
-rw-r--r--arch/x86/mm/testmmiotrace.c2
3 files changed, 6 insertions, 7 deletions
diff --git a/arch/x86/mm/kmmio.c b/arch/x86/mm/kmmio.c
index 3ad27b8504a5..6a92d9111b64 100644
--- a/arch/x86/mm/kmmio.c
+++ b/arch/x86/mm/kmmio.c
@@ -17,10 +17,10 @@
17#include <linux/percpu.h> 17#include <linux/percpu.h>
18#include <linux/kdebug.h> 18#include <linux/kdebug.h>
19#include <linux/mutex.h> 19#include <linux/mutex.h>
20#include <asm/io.h> 20#include <linux/io.h>
21#include <asm/cacheflush.h> 21#include <asm/cacheflush.h>
22#include <asm/tlbflush.h> 22#include <asm/tlbflush.h>
23#include <asm/errno.h> 23#include <linux/errno.h>
24#include <asm/debugreg.h> 24#include <asm/debugreg.h>
25#include <linux/mmiotrace.h> 25#include <linux/mmiotrace.h>
26 26
diff --git a/arch/x86/mm/mmio-mod.c b/arch/x86/mm/mmio-mod.c
index 1f77d8532037..a8d2a0019da4 100644
--- a/arch/x86/mm/mmio-mod.c
+++ b/arch/x86/mm/mmio-mod.c
@@ -24,7 +24,7 @@
24#include <linux/module.h> 24#include <linux/module.h>
25#include <linux/debugfs.h> 25#include <linux/debugfs.h>
26#include <linux/uaccess.h> 26#include <linux/uaccess.h>
27#include <asm/io.h> 27#include <linux/io.h>
28#include <linux/version.h> 28#include <linux/version.h>
29#include <linux/kallsyms.h> 29#include <linux/kallsyms.h>
30#include <asm/pgtable.h> 30#include <asm/pgtable.h>
@@ -418,11 +418,10 @@ static void enter_uniprocessor(void)
418 418
419 for_each_cpu_mask(cpu, downed_cpus) { 419 for_each_cpu_mask(cpu, downed_cpus) {
420 err = cpu_down(cpu); 420 err = cpu_down(cpu);
421 if (!err) { 421 if (!err)
422 pr_info(NAME "CPU%d is down.\n", cpu); 422 pr_info(NAME "CPU%d is down.\n", cpu);
423 } else { 423 else
424 pr_err(NAME "Error taking CPU%d down: %d\n", cpu, err); 424 pr_err(NAME "Error taking CPU%d down: %d\n", cpu, err);
425 }
426 } 425 }
427 if (num_online_cpus() > 1) 426 if (num_online_cpus() > 1)
428 pr_warning(NAME "multiple CPUs still online, " 427 pr_warning(NAME "multiple CPUs still online, "
diff --git a/arch/x86/mm/testmmiotrace.c b/arch/x86/mm/testmmiotrace.c
index cfa60b227c8d..d877c5b423ef 100644
--- a/arch/x86/mm/testmmiotrace.c
+++ b/arch/x86/mm/testmmiotrace.c
@@ -2,7 +2,7 @@
2 * Written by Pekka Paalanen, 2008 <pq@iki.fi> 2 * Written by Pekka Paalanen, 2008 <pq@iki.fi>
3 */ 3 */
4#include <linux/module.h> 4#include <linux/module.h>
5#include <asm/io.h> 5#include <linux/io.h>
6 6
7#define MODULE_NAME "testmmiotrace" 7#define MODULE_NAME "testmmiotrace"
8 8