aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/mmu.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-04-07 16:34:16 -0400
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-04-07 16:34:16 -0400
commit38f4b8c0da01ae7cd9b93386842ce272d6fde9ab (patch)
tree3c8c52201aac038094bfea7efdd0984a8f62045e /arch/x86/xen/mmu.c
parenta811454027352c762e0d5bba1b1d8f7d26bf96ae (diff)
parent8e2c4f2844c0e8dcdfe312e5f2204854ca8532c6 (diff)
Merge commit 'origin/master' into for-linus/xen/master
* commit 'origin/master': (4825 commits) Fix build errors due to CONFIG_BRANCH_TRACER=y parport: Use the PCI IRQ if offered tty: jsm cleanups Adjust path to gpio headers KGDB_SERIAL_CONSOLE check for module Change KCONFIG name tty: Blackin CTS/RTS Change hardware flow control from poll to interrupt driven Add support for the MAX3100 SPI UART. lanana: assign a device name and numbering for MAX3100 serqt: initial clean up pass for tty side tty: Use the generic RS485 ioctl on CRIS tty: Correct inline types for tty_driver_kref_get() splice: fix deadlock in splicing to file nilfs2: support nanosecond timestamp nilfs2: introduce secondary super block nilfs2: simplify handling of active state of segments nilfs2: mark minor flag for checkpoint created by internal operation nilfs2: clean up sketch file nilfs2: super block operations fix endian bug ... Conflicts: arch/x86/include/asm/thread_info.h arch/x86/lguest/boot.c drivers/xen/manage.c
Diffstat (limited to 'arch/x86/xen/mmu.c')
-rw-r--r--arch/x86/xen/mmu.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c
index e425a32e0a90..77b242c9a11e 100644
--- a/arch/x86/xen/mmu.c
+++ b/arch/x86/xen/mmu.c
@@ -1762,9 +1762,9 @@ __init pgd_t *xen_setup_kernel_pagetable(pgd_t *pgd,
1762{ 1762{
1763 pmd_t *kernel_pmd; 1763 pmd_t *kernel_pmd;
1764 1764
1765 init_pg_tables_start = __pa(pgd); 1765 max_pfn_mapped = PFN_DOWN(__pa(xen_start_info->pt_base) +
1766 init_pg_tables_end = __pa(pgd) + xen_start_info->nr_pt_frames*PAGE_SIZE; 1766 xen_start_info->nr_pt_frames * PAGE_SIZE +
1767 max_pfn_mapped = PFN_DOWN(init_pg_tables_end + 512*1024); 1767 512*1024);
1768 1768
1769 kernel_pmd = m2v(pgd[KERNEL_PGD_BOUNDARY].pgd); 1769 kernel_pmd = m2v(pgd[KERNEL_PGD_BOUNDARY].pgd);
1770 memcpy(level2_kernel_pgt, kernel_pmd, sizeof(pmd_t) * PTRS_PER_PMD); 1770 memcpy(level2_kernel_pgt, kernel_pmd, sizeof(pmd_t) * PTRS_PER_PMD);
@@ -1916,7 +1916,6 @@ const struct pv_mmu_ops xen_mmu_ops __initdata = {
1916 1916
1917#ifdef CONFIG_X86_PAE 1917#ifdef CONFIG_X86_PAE
1918 .set_pte_atomic = xen_set_pte_atomic, 1918 .set_pte_atomic = xen_set_pte_atomic,
1919 .set_pte_present = xen_set_pte_at,
1920 .pte_clear = xen_pte_clear, 1919 .pte_clear = xen_pte_clear,
1921 .pmd_clear = xen_pmd_clear, 1920 .pmd_clear = xen_pmd_clear,
1922#endif /* CONFIG_X86_PAE */ 1921#endif /* CONFIG_X86_PAE */