Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
{
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;
static void pseries_shared_idle_sleep(void)
{
- unsigned int cpu = smp_processor_id();
-
/*
* Indicate to the HV that we are idle. Now would be
* a good time to find other work to dispatch.