X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-um%2Ffixmap.h;h=900f3fbb9fabb3bd4ba1362598fd403e163b7c96;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=ef4890b11982a480c9da7586a5956fc3a292544d;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/asm-um/fixmap.h b/include/asm-um/fixmap.h index ef4890b11..900f3fbb9 100644 --- a/include/asm-um/fixmap.h +++ b/include/asm-um/fixmap.h @@ -3,6 +3,7 @@ #include #include +#include /* * Here we define all the compile-time 'special' virtual @@ -34,7 +35,6 @@ enum fixed_addresses { FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */ FIX_KMAP_END = FIX_KMAP_BEGIN+(KM_TYPE_NR*NR_CPUS)-1, #endif - FIX_VSYSCALL, __end_of_fixed_addresses }; @@ -64,13 +64,6 @@ extern unsigned long get_kmem_end(void); #define __fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT)) #define __virt_to_fix(x) ((FIXADDR_TOP - ((x)&PAGE_MASK)) >> PAGE_SHIFT) -/* - * This is the range that is readable by user mode, and things - * acting like user mode such as get_user_pages. - */ -#define FIXADDR_USER_START (__fix_to_virt(FIX_VSYSCALL)) -#define FIXADDR_USER_END (FIXADDR_USER_START + PAGE_SIZE) - extern void __this_fixmap_does_not_exist(void); /*