Răsfoiți Sursa

x86: remove double-checking empty zero pages debug

so far no one complained about that.

Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Yinghai Lu 17 ani în urmă
părinte
comite
3b57bc461f
1 a modificat fișierele cu 0 adăugiri și 8 ștergeri
  1. 0 8
      arch/x86/mm/init_64.c

+ 0 - 8
arch/x86/mm/init_64.c

@@ -515,14 +515,6 @@ void __init mem_init(void)
 
 	/* clear_bss() already clear the empty_zero_page */
 
-	/* temporary debugging - double check it's true: */
-	{
-		int i;
-
-		for (i = 0; i < 1024; i++)
-			WARN_ON_ONCE(empty_zero_page[i]);
-	}
-
 	reservedpages = 0;
 
 	/* this will put all low memory onto the freelists */