From 06994de5beadc3cc52ee590e9281b581cd3e915e Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Wed, 28 May 2008 14:24:38 +0200 Subject: [PATCH] --- yaml --- r: 99561 b: refs/heads/master c: b20aeccd6ad42ccb6be1b3d1d32618ddd2b31bf0 h: refs/heads/master i: 99559: 135e880e721092fe40f67e98e5bea7aac07f3a74 v: v3 --- [refs] | 2 +- trunk/arch/x86/xen/mmu.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 7971b2a4711e..38e752f2dcb9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 359cdd3f866b6219a6729e313faf2221397f3278 +refs/heads/master: b20aeccd6ad42ccb6be1b3d1d32618ddd2b31bf0 diff --git a/trunk/arch/x86/xen/mmu.c b/trunk/arch/x86/xen/mmu.c index e95955968ba3..eef3b5c6e2fe 100644 --- a/trunk/arch/x86/xen/mmu.c +++ b/trunk/arch/x86/xen/mmu.c @@ -73,7 +73,8 @@ static unsigned long *p2m_top[TOP_ENTRIES] static unsigned long p2m_top_mfn[TOP_ENTRIES] __attribute__((section(".bss.page_aligned"))); -static unsigned long p2m_top_mfn_list[TOP_ENTRIES / P2M_ENTRIES_PER_PAGE] +static unsigned long p2m_top_mfn_list[ + PAGE_ALIGN(TOP_ENTRIES / P2M_ENTRIES_PER_PAGE)] __attribute__((section(".bss.page_aligned"))); static inline unsigned p2m_top_index(unsigned long pfn)