Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f2633105 authored by Ingo Molnar's avatar Ingo Molnar
Browse files

x86: debug: double-check the empty zero page



temporary debugging - remove before this hits v2.6.25.

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 48ddb154
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -497,6 +497,14 @@ 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 */