put_page_testzero() does BUG_ON(page_count(page)) when its argument
is p.
-- wli
diff -prauN linux-2.5.69-bk9/include/linux/mm.h numaq-2.5.69-bk9-1/include/linux/mm.h
--- linux-2.5.69-bk9/include/linux/mm.h 2003-05-15 12:01:44.000000000 -0700
+++ numaq-2.5.69-bk9-1/include/linux/mm.h 2003-05-15 12:26:34.000000000 -0700
@@ -214,7 +214,7 @@ struct page {
*/
#define put_page_testzero(p) \
({ \
- BUG_ON(page_count(page) == 0); \
+ BUG_ON(page_count(p) == 0); \
atomic_dec_and_test(&(p)->count); \
})
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/