Skip to content

Commit

Permalink
[PATCH] powerpc: a couple of trivial compile warning fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Mar 28, 2006
1 parent cf66c89 commit 4d177fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 4 additions & 1 deletion arch/powerpc/kernel/prom.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/platforms/pseries/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,6 @@ static void pseries_dedicated_idle_sleep(void)

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.
Expand Down

0 comments on commit 4d177fb

Please sign in to comment.