From: Boris Brezillon <boris.brezillon@free-electrons.com>
To: Thomas Gleixner <tglx@linutronix.de>,
Jason Cooper <jason@lakedaemon.net>,
"Rafael J. Wysocki" <rjw@rjwysocki.net>,
Peter Zijlstra <peterz@infradead.org>,
Mark Rutland <mark.rutland@arm.com>
Cc: linux-kernel@vger.kernel.org,
Nicolas Ferre <nicolas.ferre@atmel.com>,
Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>,
Alexandre Belloni <alexandre.belloni@free-electrons.com>,
linux-arm-kernel@lists.infradead.org,
Boris Brezillon <boris.brezillon@free-electrons.com>
Subject: [PATCH 1/6] PM / wakeup: export pm_system_wakeup symbol
Date: Fri, 27 Feb 2015 16:09:53 +0100 [thread overview]
Message-ID: <1425049798-5891-2-git-send-email-boris.brezillon@free-electrons.com> (raw)
In-Reply-To: <1425049798-5891-1-git-send-email-boris.brezillon@free-electrons.com>
Export pm_system_wakeup function to allow irq handlers to deal with system
wakeup.
This is needed for shared IRQ lines where one of the handler is registered
with IRQF_NO_SUSPEND, while the other ones want to configure it as a wakeup
source.
In this specific case, irq core does not handle the wakeup process and
leave the decision to each irq handler.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
---
drivers/base/power/wakeup.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/base/power/wakeup.c b/drivers/base/power/wakeup.c
index c2744b3..aab7158 100644
--- a/drivers/base/power/wakeup.c
+++ b/drivers/base/power/wakeup.c
@@ -730,6 +730,7 @@ void pm_system_wakeup(void)
pm_abort_suspend = true;
freeze_wake();
}
+EXPORT_SYMBOL_GPL(pm_system_wakeup);
void pm_wakeup_clear(void)
{
--
1.9.1
next prev parent reply other threads:[~2015-02-27 15:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-27 15:09 [PATCH 0/6] ARM: at91: fix irq_pm_install_action WARNING Boris Brezillon
2015-02-27 15:09 ` Boris Brezillon [this message]
2015-02-27 15:09 ` [PATCH 2/6] rtc: at91sam9: rework wakeup and interrupt handling Boris Brezillon
2015-02-27 15:09 ` [PATCH 3/6] rtc: at91rm9200: " Boris Brezillon
2015-02-27 15:09 ` [PATCH 4/6] clk: at91: implement suspend/resume for the PMC irqchip Boris Brezillon
2015-02-27 15:09 ` [PATCH 5/6] watchdog: at91sam9: request the irq with IRQF_NO_SUSPEND Boris Brezillon
2015-02-27 15:09 ` [PATCH 6/6] tty: serial: atmel: rework interrupt and wakeup handling Boris Brezillon
2015-02-27 22:33 ` [PATCH 0/6] ARM: at91: fix irq_pm_install_action WARNING Rafael J. Wysocki
2015-03-02 9:05 ` Boris Brezillon
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=1425049798-5891-2-git-send-email-boris.brezillon@free-electrons.com \
--to=boris.brezillon@free-electrons.com \
--cc=alexandre.belloni@free-electrons.com \
--cc=jason@lakedaemon.net \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=nicolas.ferre@atmel.com \
--cc=peterz@infradead.org \
--cc=plagnioj@jcrosoft.com \
--cc=rjw@rjwysocki.net \
--cc=tglx@linutronix.de \
/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
all inboxes | Powered by JetHome®