diff options
author | mafetter@fleming.research <mafetter@fleming.research> | 2005-05-09 13:22:13 +0000 |
---|---|---|
committer | mafetter@fleming.research <mafetter@fleming.research> | 2005-05-09 13:22:13 +0000 |
commit | 33ea028eb0fde1c4c3d3846773617e2c948354ff (patch) | |
tree | 2a429126089684dd3fee0985c1abfd0f7e9f7e89 /xen/include/xen/lib.h | |
parent | ce37d6f6d47a883d7a57593a874953f653afecd8 (diff) | |
download | xen-33ea028eb0fde1c4c3d3846773617e2c948354ff.tar.gz xen-33ea028eb0fde1c4c3d3846773617e2c948354ff.tar.bz2 xen-33ea028eb0fde1c4c3d3846773617e2c948354ff.zip |
bitkeeper revision 1.1385.1.7 (427f6405sUeICnIzUJ_HaXbYnLds4A)
Enabling light-weight shadows (especially shadow_mode_dirty).
Light-weight shadows leave all the page ref counts based on the guest p.t. pages,
while heavy-weight shadows do all their ref counts based on the shadow's p.t. pages.
shadow_mode_refcounts(dom) == 1 implies heavy-weight shadows.
Diffstat (limited to 'xen/include/xen/lib.h')
-rw-r--r-- | xen/include/xen/lib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/xen/lib.h b/xen/include/xen/lib.h index 313635f82a..91c34ce232 100644 --- a/xen/include/xen/lib.h +++ b/xen/include/xen/lib.h @@ -15,7 +15,7 @@ #define BUG_ON(_p) do { if (_p) BUG(); } while ( 0 ) #ifndef NDEBUG -#define ASSERT(_p) if ( !(_p) ) { printk("Assertion '%s' failed, line %d, file %s\n", #_p , __LINE__, __FILE__); BUG(); } +#define ASSERT(_p) { if ( !(_p) ) { printk("Assertion '%s' failed, line %d, file %s\n", #_p , __LINE__, __FILE__); BUG(); } } #else #define ASSERT(_p) ((void)0) #endif |