Skip to contentSkip to conversation

tuxonice-head 070811

PATCH New Steven 1 participant 1 message Aug 11, 2007

lore
Share & tools
lore

Steven

author
#0 lore raw

PATCH 1/1 tuxonice-head 070811

Small problem with kernel/power/tuxonice_checksum.c which causes compilation to fail with wrong type for get_next_bit_on

tuxonice_checksum.c renamed from tuxonice_checksum.c.orig +1 -1
@@ -292,7 +292,7 @@
 	if (check)
 		toi_num_resaved = 0;
 
-	BITMAP_FOR_EACH_SET(pageset2_map, pfn) {
+	BITMAP_FOR_EACH_SET(&pageset2_map, pfn) {
 		int ret;
 		if (index % CHECKSUMS_PER_PAGE) {
 			this_checksum += CHECKSUM_SIZE;