Fix annoying error introduced during cleanup. Oops.

Signed-off-by: Steven Hand <steven@xensource.com>
This commit is contained in:
smh22@firebug.cl.cam.ac.uk committed 2005-11-16 18:28:09 +01:00
1 parent 99e88d6dd7
commit 5aebcfee2a
1 file changed
+1 -1
+1 -1
View File
@@ -73,7 +73,7 @@ static unsigned long *live_m2p = NULL;
*/
#define BITS_PER_LONG (sizeof(unsigned long) * 8)
#define BITMAP_SIZE ((max_pfn + BITS_PER_LONG - 1) / BITS_PER_LONG)
#define BITMAP_SIZE ((max_pfn + 7) / 8)
#define BITMAP_ENTRY(_nr,_bmap) \
((unsigned long *)(_bmap))[(_nr)/BITS_PER_LONG]
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.