[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [XEN] Fix assert in typed p2m code
# HG changeset patch # User Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx> # Date 1189587496 -3600 # Node ID 45dbef0ab7a6cb108d6db36392d9ee3661efbb59 # Parent a00cc97b392a8e845f26f05817ffe1edcf8878d6 [XEN] Fix assert in typed p2m code as spotted by GCC-4's enthusiastic warnings. Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx> --- xen/include/asm-x86/p2m.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r a00cc97b392a -r 45dbef0ab7a6 xen/include/asm-x86/p2m.h --- a/xen/include/asm-x86/p2m.h Wed Sep 12 09:43:33 2007 +0100 +++ b/xen/include/asm-x86/p2m.h Wed Sep 12 09:58:16 2007 +0100 @@ -119,7 +119,7 @@ static inline mfn_t gfn_to_mfn_current(u if ( ret == 0 ) { p2mt = p2m_flags_to_type(l1e_get_flags(l1e)); - ASSERT(l1e_get_pfn(l1e) != INVALID_MFN || !p2m_is_ram(*t)); + ASSERT(l1e_get_pfn(l1e) != INVALID_MFN || !p2m_is_ram(p2mt)); if ( p2m_is_valid(p2mt) ) mfn = _mfn(l1e_get_pfn(l1e)); else _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |