diff options
Diffstat (limited to 'sys/arch/i386/i386/hibernate_machdep.c')
-rw-r--r-- | sys/arch/i386/i386/hibernate_machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/hibernate_machdep.c b/sys/arch/i386/i386/hibernate_machdep.c index 8196310baa0..e7175de3c30 100644 --- a/sys/arch/i386/i386/hibernate_machdep.c +++ b/sys/arch/i386/i386/hibernate_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hibernate_machdep.c,v 1.43 2014/12/23 01:24:50 deraadt Exp $ */ +/* $OpenBSD: hibernate_machdep.c,v 1.44 2015/01/09 03:43:52 mlarkin Exp $ */ /* * Copyright (c) 2011 Mike Larkin <mlarkin@openbsd.org> @@ -193,7 +193,7 @@ hibernate_enter_resume_4m_pde(vaddr_t va, paddr_t pa) pt_entry_t *pde, npde; pde = s4pde_4m(va); - npde = (pa & PD_MASK) | PG_RW | PG_V | PG_M | PG_PS; + npde = (pa & HIB_PD_MASK) | PG_RW | PG_V | PG_M | PG_PS; *pde = npde; } |