summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/fixmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/fixmap.h')
-rw-r--r--include/asm-x86/fixmap.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-x86/fixmap.h b/include/asm-x86/fixmap.h
index 382eb271a89..5bd206973dc 100644
--- a/include/asm-x86/fixmap.h
+++ b/include/asm-x86/fixmap.h
@@ -1,5 +1,13 @@
+#ifndef _ASM_FIXMAP_H
+#define _ASM_FIXMAP_H
+
#ifdef CONFIG_X86_32
# include "fixmap_32.h"
#else
# include "fixmap_64.h"
#endif
+
+#define clear_fixmap(idx) \
+ __set_fixmap(idx, 0, __pgprot(0))
+
+#endif