X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-um%2Ffixmap.h;h=d352a35cfafb3c1a0aff2eeab1f630d8646f220a;hb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;hp=ef4890b11982a480c9da7586a5956fc3a292544d;hpb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;p=linux-2.6.git diff --git a/include/asm-um/fixmap.h b/include/asm-um/fixmap.h index ef4890b11..d352a35cf 100644 --- a/include/asm-um/fixmap.h +++ b/include/asm-um/fixmap.h @@ -1,8 +1,9 @@ #ifndef __UM_FIXMAP_H #define __UM_FIXMAP_H -#include #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); /*