X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-x86%2Ffixmap.h;h=5bd206973dca3cf184b859a1c2031ce6d3501ff3;hb=2ddfd20e7c55421435cbf95a5ed3dd6e423cf934;hp=382eb271a89203cc2439fe8a1fb4b38250725648;hpb=408af0dab78ef4145203b849d6bfd3195f6e3ec9;p=linux-2.6 diff --git a/include/asm-x86/fixmap.h b/include/asm-x86/fixmap.h index 382eb271a8..5bd206973d 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