mm/highmem: Provide and use CONFIG_DEBUG_KMAP_LOCAL
[sfrench/cifs-2.6.git] / mm / highmem.c
index 78c481a30c9a0419f91a805f49833b1ba8bb6490..fab128de97dea8ad7131a4bc2f5d4a3c6126c333 100644 (file)
@@ -368,10 +368,10 @@ EXPORT_SYMBOL(kunmap_high);
 static DEFINE_PER_CPU(int, __kmap_local_idx);
 
 /*
- * With DEBUG_HIGHMEM the stack depth is doubled and every second
+ * With DEBUG_KMAP_LOCAL the stack depth is doubled and every second
  * slot is unused which acts as a guard page
  */
-#ifdef CONFIG_DEBUG_HIGHMEM
+#ifdef CONFIG_DEBUG_KMAP_LOCAL
 # define KM_INCR       2
 #else
 # define KM_INCR       1