revision 1126:1f2c7cdee73e
summary |
tree |
shortlog |
changelog |
graph |
changeset |
raw | bz2 | zip | gz changeset | 1126:1f2c7cdee73e |
parent | 1125:9dd5dee45db9 |
child | 1127:4b8194e3974c |
author | nkeynes |
date | Mon Sep 13 19:01:15 2010 +1000 (12 years ago) |
Fix commit range to actually mark the whole block instead of half of it
1.1 --- a/src/xlat/xltcache.c Mon Sep 13 10:13:42 2010 +10001.2 +++ b/src/xlat/xltcache.c Mon Sep 13 19:01:15 2010 +10001.3 @@ -449,7 +449,7 @@1.4 void xlat_commit_block( uint32_t destsize, uint32_t srcsize )1.5 {1.6 void **ptr = xlat_new_create_ptr->lut_entry;1.7 - void **endptr = ptr + (srcsize>>2);1.8 + void **endptr = ptr + (srcsize>>1);1.9 while( ptr < endptr ) {1.10 if( *ptr == NULL ) {1.11 *ptr = XLAT_LUT_ENTRY_USED;
.