summaryrefslogtreecommitdiffstats
path: root/sys/dev/syscons
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2015-05-11 08:16:33 +0000
committeravg <avg@FreeBSD.org>2015-05-11 08:16:33 +0000
commitd8a44286a15bd6cf67f494058b4be94e75552d87 (patch)
tree77c90234655a5ab610894c35e9327585f79233db /sys/dev/syscons
parent2413b4098a64ace50881a79cec7e37858e575bbc (diff)
downloadFreeBSD-src-d8a44286a15bd6cf67f494058b4be94e75552d87.zip
FreeBSD-src-d8a44286a15bd6cf67f494058b4be94e75552d87.tar.gz
MFC r277796: hook userland threads suspend + resume into acpi suspend code
Diffstat (limited to 'sys/dev/syscons')
-rw-r--r--sys/dev/syscons/syscons.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c
index 35b3ca8..dd3aece 100644
--- a/sys/dev/syscons/syscons.c
+++ b/sys/dev/syscons/syscons.c
@@ -550,7 +550,7 @@ sc_attach_unit(int unit, int flags)
/* Register suspend/resume/shutdown callbacks for the kernel console. */
if (sc_console_unit == unit) {
- EVENTHANDLER_REGISTER(power_suspend, scsuspend, NULL,
+ EVENTHANDLER_REGISTER(power_suspend_early, scsuspend, NULL,
EVENTHANDLER_PRI_ANY);
EVENTHANDLER_REGISTER(power_resume, scresume, NULL,
EVENTHANDLER_PRI_ANY);
OpenPOWER on IntegriCloud