From 3ec96783e3c1d21bf9a1fa3f238f8354c92827f6 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 25 Apr 2008 18:25:25 +0200 Subject: x86: make clear_fixmap() available on 64-bit as well Signed-off-by: Ingo Molnar --- include/asm-x86/fixmap.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/asm-x86/fixmap.h') 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 -- cgit v1.2.1