diff options
| author | Ingo Molnar <mingo@elte.hu> | 2009-02-17 06:21:12 -0500 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2009-02-17 06:21:12 -0500 |
| commit | 9f361c221912b6ffa1f7836e0bbf843917f6fce7 (patch) | |
| tree | 743d3a925490d9f99eead314ac152c79cfe6c5a2 | |
| parent | 494df596f9c315e20523894caa2a2938db3e5d8d (diff) | |
| parent | ee8b53c1cfe33aecf0c77c0aa3ce437f0d84d831 (diff) | |
Merge branch 'x86/headers' into x86/core
| -rw-r--r-- | arch/x86/include/asm/page_64.h.rej | 114 |
1 files changed, 0 insertions, 114 deletions
diff --git a/arch/x86/include/asm/page_64.h.rej b/arch/x86/include/asm/page_64.h.rej deleted file mode 100644 index 9b1807f18596..000000000000 --- a/arch/x86/include/asm/page_64.h.rej +++ /dev/null | |||
| @@ -1,114 +0,0 @@ | |||
| 1 | *************** | ||
| 2 | *** 1,105 **** | ||
| 3 | #ifndef _ASM_X86_PAGE_64_H | ||
| 4 | #define _ASM_X86_PAGE_64_H | ||
| 5 | |||
| 6 | - #define PAGETABLE_LEVELS 4 | ||
| 7 | - | ||
| 8 | - #define THREAD_ORDER 1 | ||
| 9 | - #define THREAD_SIZE (PAGE_SIZE << THREAD_ORDER) | ||
| 10 | - #define CURRENT_MASK (~(THREAD_SIZE - 1)) | ||
| 11 | - | ||
| 12 | - #define EXCEPTION_STACK_ORDER 0 | ||
| 13 | - #define EXCEPTION_STKSZ (PAGE_SIZE << EXCEPTION_STACK_ORDER) | ||
| 14 | - | ||
| 15 | - #define DEBUG_STACK_ORDER (EXCEPTION_STACK_ORDER + 1) | ||
| 16 | - #define DEBUG_STKSZ (PAGE_SIZE << DEBUG_STACK_ORDER) | ||
| 17 | - | ||
| 18 | - #define IRQSTACK_ORDER 2 | ||
| 19 | - #define IRQSTACKSIZE (PAGE_SIZE << IRQSTACK_ORDER) | ||
| 20 | - | ||
| 21 | - #define STACKFAULT_STACK 1 | ||
| 22 | - #define DOUBLEFAULT_STACK 2 | ||
| 23 | - #define NMI_STACK 3 | ||
| 24 | - #define DEBUG_STACK 4 | ||
| 25 | - #define MCE_STACK 5 | ||
| 26 | - #define N_EXCEPTION_STACKS 5 /* hw limit: 7 */ | ||
| 27 | - | ||
| 28 | - #define PUD_PAGE_SIZE (_AC(1, UL) << PUD_SHIFT) | ||
| 29 | - #define PUD_PAGE_MASK (~(PUD_PAGE_SIZE-1)) | ||
| 30 | - | ||
| 31 | - /* | ||
| 32 | - * Set __PAGE_OFFSET to the most negative possible address + | ||
| 33 | - * PGDIR_SIZE*16 (pgd slot 272). The gap is to allow a space for a | ||
| 34 | - * hypervisor to fit. Choosing 16 slots here is arbitrary, but it's | ||
| 35 | - * what Xen requires. | ||
| 36 | - */ | ||
| 37 | - #define __PAGE_OFFSET _AC(0xffff880000000000, UL) | ||
| 38 | - | ||
| 39 | - #define __PHYSICAL_START CONFIG_PHYSICAL_START | ||
| 40 | - #define __KERNEL_ALIGN 0x200000 | ||
| 41 | - | ||
| 42 | - /* | ||
| 43 | - * Make sure kernel is aligned to 2MB address. Catching it at compile | ||
| 44 | - * time is better. Change your config file and compile the kernel | ||
| 45 | - * for a 2MB aligned address (CONFIG_PHYSICAL_START) | ||
| 46 | - */ | ||
| 47 | - #if (CONFIG_PHYSICAL_START % __KERNEL_ALIGN) != 0 | ||
| 48 | - #error "CONFIG_PHYSICAL_START must be a multiple of 2MB" | ||
| 49 | - #endif | ||
| 50 | - | ||
| 51 | - #define __START_KERNEL (__START_KERNEL_map + __PHYSICAL_START) | ||
| 52 | - #define __START_KERNEL_map _AC(0xffffffff80000000, UL) | ||
| 53 | - | ||
| 54 | - /* See Documentation/x86_64/mm.txt for a description of the memory map. */ | ||
| 55 | - #define __PHYSICAL_MASK_SHIFT 46 | ||
| 56 | - #define __VIRTUAL_MASK_SHIFT 48 | ||
| 57 | - | ||
| 58 | - /* | ||
| 59 | - * Kernel image size is limited to 512 MB (see level2_kernel_pgt in | ||
| 60 | - * arch/x86/kernel/head_64.S), and it is mapped here: | ||
| 61 | - */ | ||
| 62 | - #define KERNEL_IMAGE_SIZE (512 * 1024 * 1024) | ||
| 63 | - #define KERNEL_IMAGE_START _AC(0xffffffff80000000, UL) | ||
| 64 | - | ||
| 65 | - #ifndef __ASSEMBLY__ | ||
| 66 | - void clear_page(void *page); | ||
| 67 | - void copy_page(void *to, void *from); | ||
| 68 | - | ||
| 69 | - /* duplicated to the one in bootmem.h */ | ||
| 70 | - extern unsigned long max_pfn; | ||
| 71 | - extern unsigned long phys_base; | ||
| 72 | - | ||
| 73 | - extern unsigned long __phys_addr(unsigned long); | ||
| 74 | - #define __phys_reloc_hide(x) (x) | ||
| 75 | - | ||
| 76 | - /* | ||
| 77 | - * These are used to make use of C type-checking.. | ||
| 78 | - */ | ||
| 79 | - typedef unsigned long pteval_t; | ||
| 80 | - typedef unsigned long pmdval_t; | ||
| 81 | - typedef unsigned long pudval_t; | ||
| 82 | - typedef unsigned long pgdval_t; | ||
| 83 | - typedef unsigned long pgprotval_t; | ||
| 84 | - | ||
| 85 | - typedef struct page *pgtable_t; | ||
| 86 | - | ||
| 87 | - typedef struct { pteval_t pte; } pte_t; | ||
| 88 | - | ||
| 89 | - #define vmemmap ((struct page *)VMEMMAP_START) | ||
| 90 | - | ||
| 91 | - extern unsigned long init_memory_mapping(unsigned long start, | ||
| 92 | - unsigned long end); | ||
| 93 | - | ||
| 94 | - extern void initmem_init(unsigned long start_pfn, unsigned long end_pfn); | ||
| 95 | - extern void free_initmem(void); | ||
| 96 | - | ||
| 97 | - extern void init_extra_mapping_uc(unsigned long phys, unsigned long size); | ||
| 98 | - extern void init_extra_mapping_wb(unsigned long phys, unsigned long size); | ||
| 99 | - | ||
| 100 | - #endif /* !__ASSEMBLY__ */ | ||
| 101 | - | ||
| 102 | - #ifdef CONFIG_FLATMEM | ||
| 103 | - #define pfn_valid(pfn) ((pfn) < max_pfn) | ||
| 104 | - #endif | ||
| 105 | - | ||
| 106 | |||
| 107 | #endif /* _ASM_X86_PAGE_64_H */ | ||
| 108 | --- 1,6 ---- | ||
| 109 | #ifndef _ASM_X86_PAGE_64_H | ||
| 110 | #define _ASM_X86_PAGE_64_H | ||
| 111 | |||
| 112 | + #include <asm/page_64_types.h> | ||
| 113 | |||
| 114 | #endif /* _ASM_X86_PAGE_64_H */ | ||
