X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-x86_64%2Fprocessor.h;h=ec696b271ddfc5010363270bf6ad48a6dc6c5bd0;hb=1341115471cc16954510b0e67295468f5a32b088;hp=597df198fa85e964960c6c44e98a53e37d547257;hpb=a91482bdcc2e0f6035702e46f1b99043a0893346;p=linux-2.6.git diff --git a/include/asm-x86_64/processor.h b/include/asm-x86_64/processor.h index 597df198f..ec696b271 100644 --- a/include/asm-x86_64/processor.h +++ b/include/asm-x86_64/processor.h @@ -163,6 +163,10 @@ static inline void clear_in_cr4 (unsigned long mask) #define MCA_bus__is_a_macro +/* + * User space process size: 512GB - 1GB (default). + */ +#define TASK_SIZE (0x0000007fc0000000UL) /* This decides where the kernel will search for a free chunk of vm * space during mmap's. @@ -173,14 +177,6 @@ static inline void clear_in_cr4 (unsigned long mask) #define TASK_UNMAPPED_BASE \ (test_thread_flag(TIF_IA32) ? TASK_UNMAPPED_32 : TASK_UNMAPPED_64) - -/* - * User space process size: 512GB - 1GB (default). - */ -#define TASK_SIZE_64 (0x0000007fc0000000UL) - -#define TASK_SIZE (test_thread_flag(TIF_IA32) ? IA32_PAGE_OFFSET : TASK_SIZE_64) - /* * Size of io_bitmap, covering ports 0 to 0x3ff. */ @@ -465,6 +461,4 @@ static inline void __mwait(unsigned long eax, unsigned long ecx) #define ARCH_HAS_SCHED_WAKE_IDLE #endif -#define HAVE_ARCH_PICK_MMAP_LAYOUT - #endif /* __ASM_X86_64_PROCESSOR_H */