summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/prom.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2006-03-28 06:14:44 (GMT)
committerPaul Mackerras <paulus@samba.org>2006-03-28 09:40:33 (GMT)
commit4d177fbfdadb011f1bac96f9ccba0cc9f21da8de (patch)
treeebd6442522d817a266f22262022d11155717f743 /arch/powerpc/kernel/prom.c
parentcf66c897d7fa07f57452b1a369aec37d97b11e31 (diff)
downloadlinux-4d177fbfdadb011f1bac96f9ccba0cc9f21da8de.tar.xz
[PATCH] powerpc: a couple of trivial compile warning fixes
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/prom.c')
-rw-r--r--arch/powerpc/kernel/prom.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c
index 95d15eb..a2bc433 100644
--- a/arch/powerpc/kernel/prom.c
+++ b/arch/powerpc/kernel/prom.c
@@ -860,7 +860,10 @@ static int __init early_init_dt_scan_cpus(unsigned long node,
{
static int logical_cpuid = 0;
char *type = of_get_flat_dt_prop(node, "device_type", NULL);
- u32 *prop, *intserv;
+#ifdef CONFIG_ALTIVEC
+ u32 *prop;
+#endif
+ u32 *intserv;
int i, nthreads;
unsigned long len;
int found = 0;