aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/xencomm.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-04-07 15:02:47 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-04-07 15:02:47 +0100
commit994068a534cb6b2e23eb24ae1088c6d9624c7c63 (patch)
tree227a20b21a9aba974a657233c8b11492ff6e16de /xen/include/xen/xencomm.h
parent54cdc383f128d5682852d1d55e091445a433810c (diff)
downloadxen-994068a534cb6b2e23eb24ae1088c6d9624c7c63.tar.gz
xen-994068a534cb6b2e23eb24ae1088c6d9624c7c63.tar.bz2
xen-994068a534cb6b2e23eb24ae1088c6d9624c7c63.zip
xencomm: add support for log dirty mode
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
Diffstat (limited to 'xen/include/xen/xencomm.h')
-rw-r--r--xen/include/xen/xencomm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/xen/include/xen/xencomm.h b/xen/include/xen/xencomm.h
index 9b46c89dbf..f044c74f99 100644
--- a/xen/include/xen/xencomm.h
+++ b/xen/include/xen/xencomm.h
@@ -114,4 +114,12 @@ static inline unsigned long xencomm_inline_addr(const void *handle)
xencomm_copy_from_guest(_d, _s, sizeof(*_d), _off); \
})
+#ifdef CONFIG_XENCOMM_MARK_DIRTY
+extern void xencomm_mark_dirty(unsigned long addr, unsigned int len);
+#else
+static inline void xencomm_mark_dirty(unsigned long addr, unsigned int len)
+{
+}
+#endif
+
#endif /* __XENCOMM_H__ */