mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Fix annoying error introduced during cleanup. Oops.
Signed-off-by: Steven Hand <steven@xensource.com>
This commit is contained in:
1 parent
99e88d6dd7
commit
5aebcfee2a
1 file changed
+1
-1
@@ -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]
|
||||
|
||||