diff options
author | kmacy <kmacy@FreeBSD.org> | 2009-11-24 07:17:51 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2009-11-24 07:17:51 +0000 |
commit | b1b8eb69e337fc893433344a340ff89222d1316c (patch) | |
tree | 8a219461abf726d710981c629f24c7f99e8f3e90 /sys/i386/xen | |
parent | 0ec75e125c68acbddc6d2fbb1ec247ca799d444c (diff) | |
download | FreeBSD-src-b1b8eb69e337fc893433344a340ff89222d1316c.zip FreeBSD-src-b1b8eb69e337fc893433344a340ff89222d1316c.tar.gz |
fixup kernel core dumps on paravirtual guests
Diffstat (limited to 'sys/i386/xen')
-rw-r--r-- | sys/i386/xen/pmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/xen/pmap.c b/sys/i386/xen/pmap.c index b25d0ba..1b4345f 100644 --- a/sys/i386/xen/pmap.c +++ b/sys/i386/xen/pmap.c @@ -3103,7 +3103,7 @@ pmap_kenter_temporary(vm_paddr_t pa, int i) vm_offset_t va; va = (vm_offset_t)crashdumpmap + (i * PAGE_SIZE); - pmap_kenter(va, pa); + PT_SET_MA(va, (pa & ~PAGE_MASK) | PG_V | pgeflag); invlpg(va); return ((void *)crashdumpmap); } |