X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-i386%2Ffixmap.h;fp=include%2Fasm-i386%2Ffixmap.h;h=591c5536f7cb2fe6fc6a7d153c3f770e9be9b63a;hb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;hp=f11513aa9e0579d606c94af07b19064aa8dd3aa2;hpb=4e76c8a9fa413ccc09d3f7f664183dcce3555d57;p=linux-2.6.git diff --git a/include/asm-i386/fixmap.h b/include/asm-i386/fixmap.h index f11513aa9..591c5536f 100644 --- a/include/asm-i386/fixmap.h +++ b/include/asm-i386/fixmap.h @@ -13,14 +13,14 @@ #ifndef _ASM_FIXMAP_H #define _ASM_FIXMAP_H -#include /* used by vmalloc.c, vsyscall.lds.S. * * Leave one empty page between vmalloc'ed areas and * the start of the fixmap. */ -extern unsigned long __FIXADDR_TOP; + +#define __FIXADDR_TOP 0xfffff000 #ifndef __ASSEMBLY__ #include @@ -52,7 +52,7 @@ extern unsigned long __FIXADDR_TOP; */ enum fixed_addresses { FIX_HOLE, - FIX_VSYSCALL, + FIX_VDSO, #ifdef CONFIG_X86_LOCAL_APIC FIX_APIC_BASE, /* local (CPU) APIC) -- required for SMP or not */ #endif @@ -95,8 +95,6 @@ enum fixed_addresses { extern void __set_fixmap (enum fixed_addresses idx, unsigned long phys, pgprot_t flags); -extern void set_fixaddr_top(unsigned long top); - #define set_fixmap(idx, phys) \ __set_fixmap(idx, phys, PAGE_KERNEL) /* @@ -118,14 +116,6 @@ extern void set_fixaddr_top(unsigned long top); #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); /*