Commit 2115cc34 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ppc64: Fix prom.c warnings

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'
parent 5434d62a
...@@ -186,12 +186,13 @@ extern void copy_and_flush(unsigned long dest, unsigned long src, ...@@ -186,12 +186,13 @@ extern void copy_and_flush(unsigned long dest, unsigned long src,
extern char cmd_line[512]; /* XXX */ extern char cmd_line[512]; /* XXX */
unsigned long dev_tree_size; unsigned long dev_tree_size;
unsigned long _get_PIR(void);
#ifdef CONFIG_HMT #ifdef CONFIG_HMT
struct { struct {
unsigned int pir; unsigned int pir;
unsigned int threadid; unsigned int threadid;
} hmt_thread_data[NR_CPUS] = {0}; } hmt_thread_data[NR_CPUS];
#endif /* CONFIG_HMT */ #endif /* CONFIG_HMT */
char testString[] = "LINUX\n"; char testString[] = "LINUX\n";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment