aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/mmio-mod.c
diff options
context:
space:
mode:
authorPekka Paalanen <pq@iki.fi>2008-05-12 15:21:03 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-24 05:27:28 -0400
commit970e6fa03885f32cc43e42cb08c73a5f54cd8bd9 (patch)
tree36fd85de2ac0e43c93a7274f8cd1e5ddf630617c /arch/x86/mm/mmio-mod.c
parent6f6f394d9ca61fcc73ecfd2f2bf58e92dc1ab269 (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/mmio-mod.c')
-rw-r--r--arch/x86/mm/mmio-mod.c7
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 @@
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, "