projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b617f63
)
ioemu: pass-through: XC_PAGE_SIZE should be used
author
Keir Fraser
<keir.fraser@citrix.com>
Wed, 9 Jul 2008 09:39:42 +0000
(10:39 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Wed, 9 Jul 2008 09:39:42 +0000
(10:39 +0100)
Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
tools/ioemu/hw/pass-through.h
patch
|
blob
|
history
diff --git
a/tools/ioemu/hw/pass-through.h
b/tools/ioemu/hw/pass-through.h
index 2d1b009701a3d15b5b60f80d1fef348fece3ee1f..5cce8522a650de6c511cf53e95001939a0ea6f02 100644
(file)
--- a/
tools/ioemu/hw/pass-through.h
+++ b/
tools/ioemu/hw/pass-through.h
@@
-73,7
+73,7
@@
enum {
#define PT_GET_EMUL_SIZE(flag, r_size) do { \
if (flag == PT_BAR_FLAG_MEM) {\
- r_size = (((r_size) +
PAGE_SIZE - 1) & ~(
PAGE_SIZE - 1)); \
+ r_size = (((r_size) +
XC_PAGE_SIZE - 1) & ~(XC_
PAGE_SIZE - 1)); \
}\
} while(0)