diff options
author | 2015-05-04 02:18:05 +0000 | |
---|---|---|
committer | 2015-05-04 02:18:05 +0000 | |
commit | 3120f5344c9e011641419cfed4c7ef942b70e06b (patch) | |
tree | bbc564925efefb3d7b6a6ba0859bb00363ab03fc /sys/kern/subr_hibernate.c | |
parent | Specify regression test host keys so that this test will work without (diff) | |
download | wireguard-openbsd-3120f5344c9e011641419cfed4c7ef942b70e06b.tar.xz wireguard-openbsd-3120f5344c9e011641419cfed4c7ef942b70e06b.zip |
Clarify that hibernate_resume must be called with interrupts enabled.
Diffstat (limited to 'sys/kern/subr_hibernate.c')
-rw-r--r-- | sys/kern/subr_hibernate.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/subr_hibernate.c b/sys/kern/subr_hibernate.c index 43ab9bf50aa..0ea07637adc 100644 --- a/sys/kern/subr_hibernate.c +++ b/sys/kern/subr_hibernate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_hibernate.c,v 1.115 2015/02/07 02:50:53 mlarkin Exp $ */ +/* $OpenBSD: subr_hibernate.c,v 1.116 2015/05/04 02:18:05 mlarkin Exp $ */ /* * Copyright (c) 2011 Ariane van der Steldt <ariane@stack.nl> @@ -1036,6 +1036,8 @@ hibernate_preserve_entropy(union hibernate_info *hib) * Reads the signature block from swap, checks against the current machine's * information. If the information matches, perform a resume by reading the * saved image into the pig area, and unpacking. + * + * Must be called with interrupts enabled. */ void hibernate_resume(void) |