diff options
author | Pekka Paalanen <pq@iki.fi> | 2008-05-12 15:21:03 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-24 05:27:28 -0400 |
commit | 970e6fa03885f32cc43e42cb08c73a5f54cd8bd9 (patch) | |
tree | 36fd85de2ac0e43c93a7274f8cd1e5ddf630617c /arch/x86/mm | |
parent | 6f6f394d9ca61fcc73ecfd2f2bf58e92dc1ab269 (diff) |
mmiotrace: code style cleanups
From c2da03771e29159627c5c7b9509ec70bce9f91ee Mon Sep 17 00:00:00 2001
From: Pekka Paalanen <pq@iki.fi>
Date: Mon, 28 Apr 2008 21:25:22 +0300
Signed-off-by: Pekka Paalanen <pq@iki.fi>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm')
-rw-r--r-- | arch/x86/mm/kmmio.c | 4 | ||||
-rw-r--r-- | arch/x86/mm/mmio-mod.c | 7 | ||||
-rw-r--r-- | arch/x86/mm/testmmiotrace.c | 2 |
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 | ||