bitkeeper revision 1.1348 (4266ef9bSWLiNFi-ZJ_TkK7jYaRikA)

Truly round off the div result to get right PIT frequency for guest. 
Otherwise, the guest's idea of time drifts away from that of the host.
 
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
This commit is contained in:
iap10@tetris.cl.cam.ac.uk committed 2005-04-21 00:11:07 +00:00
1 parent 99a43b3bea
commit 93b9d17cce
1 file changed
+1 -1
+1 -1
View File
@@ -23,7 +23,7 @@
#define SWAP(_a, _b) \
do { typeof(_a) _t = (_a); (_a) = (_b); (_b) = _t; } while ( 0 )
#define DIV_ROUND(x, y) (((x) + (y) - 1) / (y))
#define DIV_ROUND(x, y) (((x) + (y) / 2) / (y))
#define reserve_bootmem(_p,_l) ((void)0)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.