[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090407150752.A2B261D046D@basil.firstfloor.org>
Date: Tue, 7 Apr 2009 17:07:52 +0200 (CEST)
From: Andi Kleen <andi@...stfloor.org>
To: tglx@...utronix.de, hpa@...or.com, linux-kernel@...r.kernel.org,
mingo@...e.hu, tglx@...utronix.de
Subject: [PATCH] [11/28] x86: MCE: Remove mce_init unused argument
From: Thomas Gleixner <tglx@...utronix.de>
Impact: Cleanup
Remove unused mce_init argument.
Signed-off-by: Andi Kleen <ak@...ux.intel.com>
---
arch/x86/kernel/cpu/mcheck/mce_64.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Index: linux/arch/x86/kernel/cpu/mcheck/mce_64.c
===================================================================
--- linux.orig/arch/x86/kernel/cpu/mcheck/mce_64.c 2009-04-07 16:09:59.000000000 +0200
+++ linux/arch/x86/kernel/cpu/mcheck/mce_64.c 2009-04-07 16:43:13.000000000 +0200
@@ -556,7 +556,7 @@
return 0;
}
-static void mce_init(void *dummy)
+static void mce_init(void)
{
u64 cap;
int i;
@@ -640,7 +640,7 @@
}
mce_cpu_quirks(c);
- mce_init(NULL);
+ mce_init();
mce_cpu_features(c);
mce_init_timer();
}
@@ -873,7 +873,7 @@
CPU hotplug. */
static int mce_resume(struct sys_device *dev)
{
- mce_init(NULL);
+ mce_init();
mce_cpu_features(¤t_cpu_data);
return 0;
}
@@ -882,7 +882,7 @@
{
del_timer_sync(&__get_cpu_var(mce_timer));
if (mce_available(¤t_cpu_data))
- mce_init(NULL);
+ mce_init();
mce_init_timer();
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists