bitkeeper revision 1.1236.11.2 (422cc9a1ar8aKl02tX17BufGbztxuA)
authoradsharma@linux-t08.sc.intel.com <adsharma@linux-t08.sc.intel.com>
Mon, 7 Mar 2005 21:37:37 +0000 (21:37 +0000)
committeradsharma@linux-t08.sc.intel.com <adsharma@linux-t08.sc.intel.com>
Mon, 7 Mar 2005 21:37:37 +0000 (21:37 +0000)
vhpt.c:
  Initialize all VHPT entries

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
xen/arch/ia64/vhpt.c

index de86d499f0cff6fc24c194040f65b945d2067ef7..de58d10827fe4967bda0e5fb0c0ad126b3184b4d 100644 (file)
@@ -22,7 +22,7 @@ void vhpt_flush(void)
        struct vhpt_lf_entry *v = (void *)VHPT_ADDR;
        int i;
 
-       for (i = 0; i < VHPT_CACHE_NUM_ENTRIES; i++, v++) {
+       for (i = 0; i < VHPT_NUM_ENTRIES; i++, v++) {
                v->itir = 0;
                v->CChain = 0;
                v->page_flags = 0;