From fb2fc47c4dd051833153801b4de2ee7e1b8b8917 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Tue, 4 May 2004 18:16:42 -0700 Subject: [PATCH] [PATCH] page_mapping race fix From: Hugh Dickins Remove this development-only debug code - Hugh thinks that its BUG_ON() can trigger by accident. --- mm/rmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/rmap.c b/mm/rmap.c index 24e09e3bb082..5577805ae992 100644 --- a/mm/rmap.c +++ b/mm/rmap.c @@ -39,7 +39,7 @@ * Something oopsable to put for now in the page->mapping * of an anonymous page, to test that it is ignored. */ -#define ANON_MAPPING_DEBUG ((struct address_space *) 0xADB) +#define ANON_MAPPING_DEBUG ((struct address_space *) 0) static inline void clear_page_anon(struct page *page) { -- 2.39.5