From 6c5e303afdf2910e58aeda56c10506342545a5af Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Mon, 24 May 2010 14:33:10 -0700 Subject: [PATCH] include/asm-generic/kmap_types.h: add helpful reminder Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/asm-generic/kmap_types.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/asm-generic/kmap_types.h b/include/asm-generic/kmap_types.h index 97e807c8c812..0232ccb76f2b 100644 --- a/include/asm-generic/kmap_types.h +++ b/include/asm-generic/kmap_types.h @@ -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 }; -- 2.34.1