On Sun, 26 Aug 2007, Stephen Rothwell wrote:

> On Sun, 26 Aug 2007 02:03:49 +0200 (CEST) Guennadi Liakhovetski <[EMAIL 
> PROTECTED]> wrote:
> >
> > +static int ls_pm_enter(suspend_state_t state)
> > +{
> > +   char ier;
> > +   int ret = 0;
> > +   u64 tb;
> > +
> > +   if ((ret = mpc10x_suspend(state)) < 0)
> > +           return ret;
> > +
> > +   /* Get timebase */
> > +   tb = get_tb();
> > +
> > +   /* put CPU to sleep, re-enabling interrupts */
> > +   mpc6xx_enter_sleep();
> > +
> > +   local_irq_disable();
> > +
> > +   set_tb(tb >> 32, tb & 0xfffffffful);
> > +
> > +fail:
> 
> Unused label?

Right, will fix in the next version, thanks.

Guennadi
---
Guennadi Liakhovetski
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to