aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/fixmap.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-04-25 12:25:25 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-25 13:54:07 -0400
commit3ec96783e3c1d21bf9a1fa3f238f8354c92827f6 (patch)
tree22b8897851d66a3dc88d62db825b406288b3235e /include/asm-x86/fixmap.h
parentb69d3987f4360a5e7e9e55465b3cdd0cc204b79e (diff)
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 382eb271a89..5bd206973dc 100644
--- a/include/asm-x86/fixmap.h
+++ b/include/asm-x86/fixmap.h
@@ -1,5 +1,13 @@
1#ifndef _ASM_FIXMAP_H
2#define _ASM_FIXMAP_H
3
1#ifdef CONFIG_X86_32 4#ifdef CONFIG_X86_32
2# include "fixmap_32.h" 5# include "fixmap_32.h"
3#else 6#else
4# include "fixmap_64.h" 7# include "fixmap_64.h"
5#endif 8#endif
9
10#define clear_fixmap(idx) \
11 __set_fixmap(idx, 0, __pgprot(0))
12
13#endif