/* pack_pfns - pfns corresponding to the set bits found in the bitmap @bm are stored in the array @buf (1 page at a time)  */
static void pack_pfns(unsigned long *buf, struct memory_bitmap *bm)
/* pack_pfns - pfns corresponding to the set bits found in the bitmap @bm are stored in the array @buf (1 page at a time)  */
static void pack_pfns(unsigned long *buf, struct memory_bitmap *bm)
{
	int j;
	for (j = 0; j < PAGE_SIZE / sizeof(long); j++) {
		buf[j] = memory_bm_next_pfn(bm);
		if (unlikely(buf[j] == BM_END_OF_MAP))
			break;
	}
}