projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94b146c
)
[POWERPC] cell: Fix undefined reference to mmio_nvram_init
author
Ishizaki Kou
<kou.ishizaki@toshiba.co.jp>
Tue, 4 Dec 2007 08:34:53 +0000
(19:34 +1100)
committer
Paul Mackerras
<paulus@samba.org>
Tue, 11 Dec 2007 02:34:39 +0000
(13:34 +1100)
This fixes the following link error with CONFIG_PPC_CELL_NATIVE=y and
CONFIG_PPC_CELL_BLADE=n:
arch/powerpc/platforms/built-in.o: In function `.cell_setup_arch':
setup.c:(.init.text+0xe80): undefined reference to `.mmio_nvram_init'
Signed-off-by: Kou Ishizaki <Kou.Ishizaki@toshiba.co.jp>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/setup.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/cell/setup.c
b/arch/powerpc/platforms/cell/setup.c
index 98e7ef8e6fc66a5becd6c3cd18a676bd6ef96fdb..6a56b6474f523820b135d7f2293ab8e71e983fc3 100644
(file)
--- a/
arch/powerpc/platforms/cell/setup.c
+++ b/
arch/powerpc/platforms/cell/setup.c
@@
-179,7
+179,9
@@
static void __init cell_setup_arch(void)
conswitchp = &dummy_con;
#endif
+#ifdef CONFIG_MMIO_NVRAM
mmio_nvram_init();
+#endif
}
static int __init cell_probe(void)