summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2010-05-24 23:33:10 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-25 17:07:03 +0200
commit6c5e303afdf2910e58aeda56c10506342545a5af (patch)
treed8c57ef05b6d157044cb457b22ed1375a44deaae
parentasm-generic: don't warn that atomic_t is only 24 bit (diff)
downloadlinux-6c5e303afdf2910e58aeda56c10506342545a5af.tar.xz
linux-6c5e303afdf2910e58aeda56c10506342545a5af.zip
include/asm-generic/kmap_types.h: add helpful reminder
Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--include/asm-generic/kmap_types.h3
1 files changed, 3 insertions, 0 deletions
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
};