summaryrefslogtreecommitdiff
path: root/i386/intel
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-01-28 23:28:48 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-01-28 23:28:48 +0100
commit3f7ad298fd5dd80c0dc017fdd77be23e7861e547 (patch)
treebed3a33609f64e6977675de2ebb73aad9790228e /i386/intel
parent3496138ca428a7b2b69fe08e69fb544006a9a2cc (diff)
parenta12a10679017d89194c0dd873f44804b64f71102 (diff)
Merge branch 'master' into master-slab
Diffstat (limited to 'i386/intel')
-rw-r--r--i386/intel/pmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c
index 94d2e9c..d6e18e5 100644
--- a/i386/intel/pmap.c
+++ b/i386/intel/pmap.c
@@ -1587,7 +1587,7 @@ void pmap_page_protect(phys, prot)
do {
#ifdef MACH_XEN
if (!hyp_mmu_update_pte(kv_to_ma(pte), *pte & ~INTEL_PTE_WRITE))
- panic("%s:%d could not enable write on pte %p\n",__FILE__,__LINE__,pte);
+ panic("%s:%d could not disable write on pte %p\n",__FILE__,__LINE__,pte);
#else /* MACH_XEN */
*pte &= ~INTEL_PTE_WRITE;
#endif /* MACH_XEN */