projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb4c00f
)
[IA64] use pte_mem() in relinquish_pte()
author
awilliam@xenbuild.aw
<awilliam@xenbuild.aw>
Fri, 9 Jun 2006 16:35:39 +0000
(10:35 -0600)
committer
awilliam@xenbuild.aw
<awilliam@xenbuild.aw>
Fri, 9 Jun 2006 16:35:39 +0000
(10:35 -0600)
use pte_mem instread of direct bit test in relinquish_pte()
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
xen/arch/ia64/xen/mm.c
patch
|
blob
|
history
diff --git
a/xen/arch/ia64/xen/mm.c
b/xen/arch/ia64/xen/mm.c
index 736f3919ed48722b5c0cc9033ac5a579c3de1d66..c3b3ab5a5113a15a0d7d7a360b684c9e8aefc0e5 100644
(file)
--- a/
xen/arch/ia64/xen/mm.c
+++ b/
xen/arch/ia64/xen/mm.c
@@
-104,7
+104,7
@@
relinquish_pte(struct domain* d, pte_t* pte)
// vmx domain use bit[58:56] to distinguish io region from memory.
// see vmx_build_physmap_table() in vmx_init.c
- if (
((mfn << PAGE_SHIFT) & GPFN_IO_MASK) != GPFN_MEM
)
+ if (
!pte_mem(*pte)
)
return;
// domain might map IO space or acpi table pages. check it.