arch/ppc64/kernel/prom.c:200: warning: missing braces around initializer
arch/ppc64/kernel/prom.c:200: warning: (near initialization for `hmt_thread_data[0]')
arch/ppc64/kernel/prom.c: In function `prom_hold_cpus':
arch/ppc64/kernel/prom.c:1090: warning: implicit declaration of function `_get_PIR'

Is there some reason why hmt_thread_data[] cannot go into bss?


---

 arch/ppc64/kernel/prom.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -puN arch/ppc64/kernel/prom.c~ppc64-prom-warnings arch/ppc64/kernel/prom.c
--- 25-power4/arch/ppc64/kernel/prom.c~ppc64-prom-warnings	2004-02-05 22:21:05.000000000 -0800
+++ 25-power4-akpm/arch/ppc64/kernel/prom.c	2004-02-05 22:36:53.000000000 -0800
@@ -192,12 +192,13 @@ extern void enter_prom(void *dummy,...);
 
 extern char cmd_line[512];	/* XXX */
 unsigned long dev_tree_size;
+unsigned long _get_PIR(void);
 
 #ifdef CONFIG_HMT
 struct {
 	unsigned int pir;
 	unsigned int threadid;
-} hmt_thread_data[NR_CPUS] = {0};
+} hmt_thread_data[NR_CPUS];
 #endif /* CONFIG_HMT */
 
 char testString[] = "LINUX\n"; 

_