taint: add explicit flag to show whether lock dep is still OK.
[deliverable/linux.git] / mm / page_alloc.c
index df2022ff0c8a1d9fb7ff13ed4cf88058999485e6..4c99cb7e276a64b4ac404b6b28634f659015ac41 100644 (file)
@@ -320,7 +320,7 @@ static void bad_page(struct page *page)
 out:
        /* Leave bad fields for debug, except PageBuddy could make trouble */
        reset_page_mapcount(page); /* remove PageBuddy */
-       add_taint(TAINT_BAD_PAGE);
+       add_taint(TAINT_BAD_PAGE, LOCKDEP_NOW_UNRELIABLE);
 }
 
 /*
This page took 0.057233 seconds and 5 git commands to generate.