diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-04-25 18:25:25 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-25 19:54:07 +0200 |
commit | 3ec96783e3c1d21bf9a1fa3f238f8354c92827f6 (patch) | |
tree | 22b8897851d66a3dc88d62db825b406288b3235e /include/asm-x86/fixmap.h | |
parent | b69d3987f4360a5e7e9e55465b3cdd0cc204b79e (diff) | |
download | kernel-crypto-3ec96783e3c1d21bf9a1fa3f238f8354c92827f6.tar.gz kernel-crypto-3ec96783e3c1d21bf9a1fa3f238f8354c92827f6.tar.xz kernel-crypto-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.h | 8 |
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 |