projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aee10c6
)
powerpc/pseries: Call pseries_kexec_setup only on pseries
author
Arnd Bergmann
<arnd@arndb.de>
Thu, 12 Jun 2008 09:14:35 +0000
(19:14 +1000)
committer
Paul Mackerras
<paulus@samba.org>
Mon, 30 Jun 2008 12:30:57 +0000
(22:30 +1000)
The pseries_kexec_setup function overwrites some ppc_md
pointers, so make sure it only gets called when running on
the right architecture.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/kexec.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/platforms/pseries/kexec.c
b/arch/powerpc/platforms/pseries/kexec.c
index e9dd5fe081c94bd66fad46ac416c0504699a0ca6..53cbd53d8740537d86b7fe5ab13e19dfcdcecd75 100644
(file)
--- a/
arch/powerpc/platforms/pseries/kexec.c
+++ b/
arch/powerpc/platforms/pseries/kexec.c
@@
-70,4
+70,4
@@
static int __init pseries_kexec_setup(void)
return 0;
}
-
__initcall(
pseries_kexec_setup);
+
machine_device_initcall(pseries,
pseries_kexec_setup);