include/asm-generic/kmap_types.h: add helpful reminder
Andrew Morton [Mon, 24 May 2010 21:33:10 +0000 (14:33 -0700)]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

include/asm-generic/kmap_types.h

index 97e807c..0232ccb 100644 (file)
@@ -29,6 +29,9 @@ KMAP_D(16)    KM_IRQ_PTE,
 KMAP_D(17)     KM_NMI,
 KMAP_D(18)     KM_NMI_PTE,
 KMAP_D(19)     KM_KDB,
+/*
+ * Remember to update debug_kmap_atomic() when adding new kmap types!
+ */
 KMAP_D(20)     KM_TYPE_NR
 };