diff options
author | Pekka Paalanen <pq@iki.fi> | 2008-05-12 21:21:03 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-24 11:27:28 +0200 |
commit | 970e6fa03885f32cc43e42cb08c73a5f54cd8bd9 (patch) | |
tree | 36fd85de2ac0e43c93a7274f8cd1e5ddf630617c /arch/x86/mm/mmio-mod.c | |
parent | 6f6f394d9ca61fcc73ecfd2f2bf58e92dc1ab269 (diff) | |
download | blackbird-op-linux-970e6fa03885f32cc43e42cb08c73a5f54cd8bd9.tar.gz blackbird-op-linux-970e6fa03885f32cc43e42cb08c73a5f54cd8bd9.zip |
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/mmio-mod.c')
-rw-r--r-- | arch/x86/mm/mmio-mod.c | 7 |
1 files changed, 3 insertions, 4 deletions
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 @@ #include <linux/module.h> #include <linux/debugfs.h> #include <linux/uaccess.h> -#include <asm/io.h> +#include <linux/io.h> #include <linux/version.h> #include <linux/kallsyms.h> #include <asm/pgtable.h> @@ -418,11 +418,10 @@ static void enter_uniprocessor(void) for_each_cpu_mask(cpu, downed_cpus) { err = cpu_down(cpu); - if (!err) { + if (!err) pr_info(NAME "CPU%d is down.\n", cpu); - } else { + else pr_err(NAME "Error taking CPU%d down: %d\n", cpu, err); - } } if (num_online_cpus() > 1) pr_warning(NAME "multiple CPUs still online, " |