diff options
author | 2011-11-23 06:54:51 +0000 | |
---|---|---|
committer | 2011-11-23 06:54:51 +0000 | |
commit | 9628cafa4974a610076c98b16c77dfae19c2be11 (patch) | |
tree | fbb2edab0754a61ce7077d3c869e6af3702af0ec /sys | |
parent | typo reported by Steffen Daode Nurpmeso <sdaoden at googlemail dot com> (diff) | |
download | wireguard-openbsd-9628cafa4974a610076c98b16c77dfae19c2be11.tar.xz wireguard-openbsd-9628cafa4974a610076c98b16c77dfae19c2be11.zip |
properly account for the MP tramp page in the ranges
ok mlarkin
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/i386/i386/hibernate_machdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/hibernate_machdep.c b/sys/arch/i386/i386/hibernate_machdep.c index 916a25e77f9..4cfaa54f3a0 100644 --- a/sys/arch/i386/i386/hibernate_machdep.c +++ b/sys/arch/i386/i386/hibernate_machdep.c @@ -116,13 +116,14 @@ get_hibernate_info_md(union hibernate_info *hiber_info) hiber_info->ranges[hiber_info->nranges].end = hiber_info->ranges[hiber_info->nranges].base + PAGE_SIZE; hiber_info->image_size += PAGE_SIZE; - hiber_info->nranges ++; + hiber_info->nranges++; #endif #ifdef MULTIPROCESSOR hiber_info->ranges[hiber_info->nranges].base = MP_TRAMPOLINE; hiber_info->ranges[hiber_info->nranges].end = hiber_info->ranges[hiber_info->nranges].base + PAGE_SIZE; hiber_info->image_size += PAGE_SIZE; + hiber_info->nranges++; #endif return (0); |