summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/pgtable-3level-defs.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-02-11 12:08:01 -0800
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-02-11 14:54:09 -0800
commitb924a28138572f03bc8647c2be8f876d27e2666a (patch)
tree105248ec991ba5311e1c0a449a14720ab968abde /arch/x86/include/asm/pgtable-3level-defs.h
parent9049a11de73d3ecc623f1903100d099f82ede56c (diff)
downloadblackbird-op-linux-b924a28138572f03bc8647c2be8f876d27e2666a.tar.gz
blackbird-op-linux-b924a28138572f03bc8647c2be8f876d27e2666a.zip
x86: rename *-defs.h to *-_types.h for consistency
The kernel tends to call definition-only headers *_types.h, so rename the x86 page/pgtable headers accordingly. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'arch/x86/include/asm/pgtable-3level-defs.h')
-rw-r--r--arch/x86/include/asm/pgtable-3level-defs.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/arch/x86/include/asm/pgtable-3level-defs.h b/arch/x86/include/asm/pgtable-3level-defs.h
deleted file mode 100644
index 62561367653c..000000000000
--- a/arch/x86/include/asm/pgtable-3level-defs.h
+++ /dev/null
@@ -1,28 +0,0 @@
-#ifndef _ASM_X86_PGTABLE_3LEVEL_DEFS_H
-#define _ASM_X86_PGTABLE_3LEVEL_DEFS_H
-
-#ifdef CONFIG_PARAVIRT
-#define SHARED_KERNEL_PMD (pv_info.shared_kernel_pmd)
-#else
-#define SHARED_KERNEL_PMD 1
-#endif
-
-/*
- * PGDIR_SHIFT determines what a top-level page table entry can map
- */
-#define PGDIR_SHIFT 30
-#define PTRS_PER_PGD 4
-
-/*
- * PMD_SHIFT determines the size of the area a middle-level
- * page table can map
- */
-#define PMD_SHIFT 21
-#define PTRS_PER_PMD 512
-
-/*
- * entries per page directory level
- */
-#define PTRS_PER_PTE 512
-
-#endif /* _ASM_X86_PGTABLE_3LEVEL_DEFS_H */
OpenPOWER on IntegriCloud