From: pavel@ucw.cz (Pavel Machek)
To: linux-arm-kernel@lists.infradead.org
Subject: [linux-pm] [RFC PATCH v3] ARM hibernation/suspend-to-disk support
Date: Fri, 3 Jun 2011 00:18:37 +0200 [thread overview]
Message-ID: <20110602221837.GB14328@ucw.cz> (raw)
In-Reply-To: <alpine.DEB.2.00.1105251251330.4319@localhost6.localdomain6>
Hi!
> Please let me know what you think,
> Thanks in advance,
> +void save_processor_state(void)
> +{
> + flush_thread();
> + local_fiq_disable();
> +#ifdef CONFIG_ARM_MACH_HIBERNATION_HOOK
> + mach_save_state();
> +#endif
> +}
Could we always define mach_save_state, and get rid of ifdef?
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
next prev parent reply other threads:[~2011-06-02 22:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-25 13:16 [RFC PATCH v3] ARM hibernation/suspend-to-disk support Frank Hofmann
2011-05-27 15:01 ` Frank Hofmann
2011-05-27 19:27 ` Nicolas Pitre
2011-05-31 11:50 ` Frank Hofmann
2011-06-02 22:18 ` Pavel Machek [this message]
2011-06-14 8:00 ` [linux-pm] " Frank Hofmann
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=20110602221837.GB14328@ucw.cz \
--to=pavel@ucw.cz \
--cc=linux-arm-kernel@lists.infradead.org \
/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