X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=include%2Fasm-i386%2Ffixmap.h;h=3e9f610c35df97d64d151189f1ab104629d16220;hb=refs%2Fheads%2Fvserver;hp=591c5536f7cb2fe6fc6a7d153c3f770e9be9b63a;hpb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;p=linux-2.6.git diff --git a/include/asm-i386/fixmap.h b/include/asm-i386/fixmap.h index 591c5536f..3e9f610c3 100644 --- a/include/asm-i386/fixmap.h +++ b/include/asm-i386/fixmap.h @@ -19,8 +19,13 @@ * Leave one empty page between vmalloc'ed areas and * the start of the fixmap. */ - -#define __FIXADDR_TOP 0xfffff000 +#ifndef CONFIG_COMPAT_VDSO +extern unsigned long __FIXADDR_TOP; +#else +#define __FIXADDR_TOP 0xfffff000 +#define FIXADDR_USER_START __fix_to_virt(FIX_VDSO) +#define FIXADDR_USER_END __fix_to_virt(FIX_VDSO - 1) +#endif #ifndef __ASSEMBLY__ #include @@ -94,6 +99,7 @@ enum fixed_addresses { extern void __set_fixmap (enum fixed_addresses idx, unsigned long phys, pgprot_t flags); +extern void reserve_top_address(unsigned long reserve); #define set_fixmap(idx, phys) \ __set_fixmap(idx, phys, PAGE_KERNEL)