ia64/xen-unstable

changeset 1028:54f65792d612

bitkeeper revision 1.668 (3ff9a53baxPw_1NTCVyiVsAgn35MhA)

domain.c:
Fix TLB flush code in Xen.
author kaf24@scramble.cl.cam.ac.uk
date Mon Jan 05 17:56:11 2004 +0000 (2004-01-05)
parents 175dadca8022
children 7de4b6630bf4
files xen/common/domain.c
line diff
     1.1 --- a/xen/common/domain.c	Mon Jan 05 17:30:11 2004 +0000
     1.2 +++ b/xen/common/domain.c	Mon Jan 05 17:56:11 2004 +0000
     1.3 @@ -240,7 +240,7 @@ struct pfn_info *alloc_domain_page(struc
     1.4      if ( unlikely((mask = page->u.cpu_mask) != 0) )
     1.5      {
     1.6          pfn_stamp = page->tlbflush_timestamp;
     1.7 -        for ( i = 0; mask != 0; i++ )
     1.8 +        for ( i = 0; (mask != 0) && (i < NR_CPUS); i++ )
     1.9          {
    1.10              if ( unlikely(mask & (1<<i)) )
    1.11              {