git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
arch
/
x86_64
/
kernel
/
mce_amd.c
diff --git
a/arch/x86_64/kernel/mce_amd.c
b/arch/x86_64/kernel/mce_amd.c
index
d13b241
..
d3ad7d8
100644
(file)
--- a/
arch/x86_64/kernel/mce_amd.c
+++ b/
arch/x86_64/kernel/mce_amd.c
@@
-482,7
+482,7
@@
static void threshold_remove_device(unsigned int cpu)
#endif
/* get notified when a cpu comes on/off */
#endif
/* get notified when a cpu comes on/off */
-static int threshold_cpu_callback(struct notifier_block *nfb,
+static
__cpuinit
int threshold_cpu_callback(struct notifier_block *nfb,
unsigned long action, void *hcpu)
{
/* cpu was unsigned int to begin with */
unsigned long action, void *hcpu)
{
/* cpu was unsigned int to begin with */