bitkeeper revision 1.1159.170.80 (41dda4b36HJxwMUYJh_Pm07DVKiC2g)

Patch from Leendert van Doorn leendert@watson.ibm.com to fix bug that was effecting mapping of IO pages when Xen was built with certain versions of gcc.
This commit is contained in:
iap10@labyrinth.cl.cam.ac.uk committed 2005-01-06 20:50:59 +00:00
1 parent d3b7f999bd
commit 3d079bebed
1 file changed
+2 -1
+2 -1
View File
@@ -466,11 +466,12 @@ static void put_page_from_l1e(l1_pgentry_t l1e, struct domain *d)
unsigned long l1v = l1_pgentry_val(l1e);
unsigned long pfn = l1_pgentry_to_pagenr(l1e);
struct pfn_info *page = &frame_table[pfn];
struct domain *e = page->u.inuse.domain;
struct domain *e;
if ( !(l1v & _PAGE_PRESENT) || !pfn_is_ram(pfn) )
return;
e = page->u.inuse.domain;
if ( unlikely(e != d) )
{
/*
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.