From: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: linuxppc-dev@ozlabs.org, linux-pm@lists.linux-foundation.org
Subject: Re: [PATCH, RFC] linkstation: implement standby
Date: Sun, 26 Aug 2007 21:10:42 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.60.0708262110010.3791@poirot.grange> (raw)
In-Reply-To: <20070826110830.dfe6ea24.sfr@canb.auug.org.au>
On Sun, 26 Aug 2007, Stephen Rothwell wrote:
> On Sun, 26 Aug 2007 02:03:49 +0200 (CEST) Guennadi Liakhovetski <g.liakhovetski@gmx.de> 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
next prev parent reply other threads:[~2007-08-26 19:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-26 0:03 [PATCH, RFC] linkstation: implement standby Guennadi Liakhovetski
2007-08-26 1:08 ` Stephen Rothwell
2007-08-26 19:10 ` Guennadi Liakhovetski [this message]
2007-08-27 0:44 ` Tony Breeds
2007-08-27 10:03 ` [linux-pm] " Pavel Machek
2007-08-27 11:32 ` Johannes Berg
2007-08-28 22:30 ` Guennadi Liakhovetski
2007-08-29 10:32 ` Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.60.0708262110010.3791@poirot.grange \
--to=g.liakhovetski@gmx.de \
--cc=linux-pm@lists.linux-foundation.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=sfr@canb.auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox