diff options
Diffstat (limited to 'include/asm-i386')
-rw-r--r-- | include/asm-i386/kdebug.h | 1 | ||||
-rw-r--r-- | include/asm-i386/pgalloc.h | 2 | ||||
-rw-r--r-- | include/asm-i386/pgtable.h | 5 | ||||
-rw-r--r-- | include/asm-i386/processor.h | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/include/asm-i386/kdebug.h b/include/asm-i386/kdebug.h index 05c3117788b9..a185b5f73e7f 100644 --- a/include/asm-i386/kdebug.h +++ b/include/asm-i386/kdebug.h | |||
@@ -27,7 +27,6 @@ enum die_val { | |||
27 | DIE_GPF, | 27 | DIE_GPF, |
28 | DIE_CALL, | 28 | DIE_CALL, |
29 | DIE_NMI_IPI, | 29 | DIE_NMI_IPI, |
30 | DIE_NMI_POST, | ||
31 | DIE_PAGE_FAULT, | 30 | DIE_PAGE_FAULT, |
32 | }; | 31 | }; |
33 | 32 | ||
diff --git a/include/asm-i386/pgalloc.h b/include/asm-i386/pgalloc.h index 47430175b75f..d07b7afc2692 100644 --- a/include/asm-i386/pgalloc.h +++ b/include/asm-i386/pgalloc.h | |||
@@ -65,6 +65,4 @@ do { \ | |||
65 | #define pud_populate(mm, pmd, pte) BUG() | 65 | #define pud_populate(mm, pmd, pte) BUG() |
66 | #endif | 66 | #endif |
67 | 67 | ||
68 | #define check_pgt_cache() do { } while (0) | ||
69 | |||
70 | #endif /* _I386_PGALLOC_H */ | 68 | #endif /* _I386_PGALLOC_H */ |
diff --git a/include/asm-i386/pgtable.h b/include/asm-i386/pgtable.h index edce9d51a676..2394589786ba 100644 --- a/include/asm-i386/pgtable.h +++ b/include/asm-i386/pgtable.h | |||
@@ -35,17 +35,16 @@ struct vm_area_struct; | |||
35 | #define ZERO_PAGE(vaddr) (virt_to_page(empty_zero_page)) | 35 | #define ZERO_PAGE(vaddr) (virt_to_page(empty_zero_page)) |
36 | extern unsigned long empty_zero_page[1024]; | 36 | extern unsigned long empty_zero_page[1024]; |
37 | extern pgd_t swapper_pg_dir[1024]; | 37 | extern pgd_t swapper_pg_dir[1024]; |
38 | extern struct kmem_cache *pgd_cache; | ||
39 | extern struct kmem_cache *pmd_cache; | 38 | extern struct kmem_cache *pmd_cache; |
40 | extern spinlock_t pgd_lock; | 39 | extern spinlock_t pgd_lock; |
41 | extern struct page *pgd_list; | 40 | extern struct page *pgd_list; |
41 | void check_pgt_cache(void); | ||
42 | 42 | ||
43 | void pmd_ctor(void *, struct kmem_cache *, unsigned long); | 43 | void pmd_ctor(void *, struct kmem_cache *, unsigned long); |
44 | void pgd_ctor(void *, struct kmem_cache *, unsigned long); | ||
45 | void pgd_dtor(void *, struct kmem_cache *, unsigned long); | ||
46 | void pgtable_cache_init(void); | 44 | void pgtable_cache_init(void); |
47 | void paging_init(void); | 45 | void paging_init(void); |
48 | 46 | ||
47 | |||
49 | /* | 48 | /* |
50 | * The Linux x86 paging architecture is 'compile-time dual-mode', it | 49 | * The Linux x86 paging architecture is 'compile-time dual-mode', it |
51 | * implements both the traditional 2-level x86 page tables and the | 50 | * implements both the traditional 2-level x86 page tables and the |
diff --git a/include/asm-i386/processor.h b/include/asm-i386/processor.h index 70f3515c3db0..338668bfb0a2 100644 --- a/include/asm-i386/processor.h +++ b/include/asm-i386/processor.h | |||
@@ -749,9 +749,13 @@ extern unsigned long boot_option_idle_override; | |||
749 | extern void enable_sep_cpu(void); | 749 | extern void enable_sep_cpu(void); |
750 | extern int sysenter_setup(void); | 750 | extern int sysenter_setup(void); |
751 | 751 | ||
752 | /* Defined in head.S */ | ||
753 | extern struct Xgt_desc_struct early_gdt_descr; | ||
754 | |||
752 | extern void cpu_set_gdt(int); | 755 | extern void cpu_set_gdt(int); |
753 | extern void switch_to_new_gdt(void); | 756 | extern void switch_to_new_gdt(void); |
754 | extern void cpu_init(void); | 757 | extern void cpu_init(void); |
758 | extern void init_gdt(int cpu); | ||
755 | 759 | ||
756 | extern int force_mwait; | 760 | extern int force_mwait; |
757 | 761 | ||