summaryrefslogtreecommitdiff
path: root/arch/avr32/include/asm/kmap_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/avr32/include/asm/kmap_types.h')
-rw-r--r--arch/avr32/include/asm/kmap_types.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/avr32/include/asm/kmap_types.h b/arch/avr32/include/asm/kmap_types.h
new file mode 100644
index 000000000..479330b89
--- /dev/null
+++ b/arch/avr32/include/asm/kmap_types.h
@@ -0,0 +1,10 @@
+#ifndef __ASM_AVR32_KMAP_TYPES_H
+#define __ASM_AVR32_KMAP_TYPES_H
+
+#ifdef CONFIG_DEBUG_HIGHMEM
+# define KM_TYPE_NR 29
+#else
+# define KM_TYPE_NR 14
+#endif
+
+#endif /* __ASM_AVR32_KMAP_TYPES_H */