Răsfoiți Sursa

[PATCH] Kconfig fix (DEBUG_PAGEALLOC on m32r)

DEBUG_PAGEALLOC is broken on m32r - the option had been blindly copied from
i386; kernel_map_pages() had not and that's what is needed for DEBUG_PAGEALLOC
to work (or link, while we are at it).

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Al Viro 19 ani în urmă
părinte
comite
697ae16ac0
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      arch/m32r/Kconfig.debug

+ 1 - 1
arch/m32r/Kconfig.debug

@@ -20,7 +20,7 @@ config DEBUG_STACK_USAGE
 
 
 config DEBUG_PAGEALLOC
 config DEBUG_PAGEALLOC
 	bool "Page alloc debugging"
 	bool "Page alloc debugging"
-	depends on DEBUG_KERNEL
+	depends on DEBUG_KERNEL && BROKEN
 	help
 	help
 	  Unmap pages from the kernel linear mapping after free_pages().
 	  Unmap pages from the kernel linear mapping after free_pages().
 	  This results in a large slowdown, but helps to find certain types
 	  This results in a large slowdown, but helps to find certain types