aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/fixmap.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-04-25 18:25:25 +0200
committerIngo Molnar <mingo@elte.hu>2008-04-25 19:54:07 +0200
commit3ec96783e3c1d21bf9a1fa3f238f8354c92827f6 (patch)
tree22b8897851d66a3dc88d62db825b406288b3235e /include/asm-x86/fixmap.h
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86-fixes (diff)
downloadlinux-dev-3ec96783e3c1d21bf9a1fa3f238f8354c92827f6.tar.xz
linux-dev-3ec96783e3c1d21bf9a1fa3f238f8354c92827f6.zip
x86: make clear_fixmap() available on 64-bit as well
Signed-off-by: Ingo Molnar <mingo@elte.hu>
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 382eb271a892..5bd206973dca 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