View | Details | Raw Unified | Return to bug 73701
Collapse All | Expand All

(-)linux-2.6.11/include/asm-x86_64/pgtable.h-o (+1 lines)
Lines 335-340 Link Here
335
#define pmd_pfn(x)  ((pmd_val(x) >> PAGE_SHIFT) & __PHYSICAL_MASK)
335
#define pmd_pfn(x)  ((pmd_val(x) >> PAGE_SHIFT) & __PHYSICAL_MASK)
336
336
337
#define pte_to_pgoff(pte) ((pte_val(pte) & PHYSICAL_PAGE_MASK) >> PAGE_SHIFT)
337
#define pte_to_pgoff(pte) ((pte_val(pte) & PHYSICAL_PAGE_MASK) >> PAGE_SHIFT)
338
#define pte_bad(pte)    (pte_val(pte) & ~(PHYSICAL_PAGE_MASK|_PAGE_NX|0x1ff))
338
#define pgoff_to_pte(off) ((pte_t) { ((off) << PAGE_SHIFT) | _PAGE_FILE })
339
#define pgoff_to_pte(off) ((pte_t) { ((off) << PAGE_SHIFT) | _PAGE_FILE })
339
#define PTE_FILE_MAX_BITS __PHYSICAL_MASK_SHIFT
340
#define PTE_FILE_MAX_BITS __PHYSICAL_MASK_SHIFT
340
341
(-)linux-2.6.11/include/asm-x86_64/page.h-o (-2 / +2 lines)
Lines 69-80 Link Here
69
69
70
#define __START_KERNEL		0xffffffff80100000UL
70
#define __START_KERNEL		0xffffffff80100000UL
71
#define __START_KERNEL_map	0xffffffff80000000UL
71
#define __START_KERNEL_map	0xffffffff80000000UL
72
#define __PAGE_OFFSET           0xffff810000000000UL
72
#define __PAGE_OFFSET           (0xffff810000000000UL - 4096)
73
73
74
#else
74
#else
75
#define __START_KERNEL		0xffffffff80100000
75
#define __START_KERNEL		0xffffffff80100000
76
#define __START_KERNEL_map	0xffffffff80000000
76
#define __START_KERNEL_map	0xffffffff80000000
77
#define __PAGE_OFFSET           0xffff810000000000
77
#define __PAGE_OFFSET           (0xffff810000000000 - PAGE_SIZE)
78
#endif /* !__ASSEMBLY__ */
78
#endif /* !__ASSEMBLY__ */
79
79
80
/* to align the pointer to the (next) page boundary */
80
/* to align the pointer to the (next) page boundary */
(-)linux-2.6.11/include/asm-x86_64/processor.h-o (-2 / +2 lines)
Lines 160-168 Link Here
160
160
161
161
162
/*
162
/*
163
 * User space process size. 47bits.
163
 * User space process size. 47bits minus one guard page
164
 */
164
 */
165
#define TASK_SIZE	(0x800000000000UL)
165
#define TASK_SIZE	(0x800000000000UL - 4096)
166
166
167
/* This decides where the kernel will search for a free chunk of vm
167
/* This decides where the kernel will search for a free chunk of vm
168
 * space during mmap's.
168
 * space during mmap's.

Return to bug 73701