summaryrefslogtreecommitdiff
path: root/include/asm-x86/fixmap_32.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_32.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_32.h')
-rw-r--r--include/asm-x86/fixmap_32.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/asm-x86/fixmap_32.h b/include/asm-x86/fixmap_32.h
index eb1665125c44..4b96148e90c1 100644
--- a/include/asm-x86/fixmap_32.h
+++ b/include/asm-x86/fixmap_32.h
@@ -10,8 +10,8 @@
* Support of BIGMEM added by Gerhard Wichert, Siemens AG, July 1999
*/
-#ifndef _ASM_FIXMAP_H
-#define _ASM_FIXMAP_H
+#ifndef _ASM_FIXMAP_32_H
+#define _ASM_FIXMAP_32_H
/* used by vmalloc.c, vsyscall.lds.S.
@@ -121,9 +121,6 @@ extern void reserve_top_address(unsigned long reserve);
#define set_fixmap_nocache(idx, phys) \
__set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE)
-#define clear_fixmap(idx) \
- __set_fixmap(idx, 0, __pgprot(0))
-
#define FIXADDR_TOP ((unsigned long)__FIXADDR_TOP)
#define __FIXADDR_SIZE (__end_of_permanent_fixed_addresses << PAGE_SHIFT)