Search
lxdream.org :: lxdream/src/xlat/xltcache.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/xlat/xltcache.c
changeset 1189:1540105786c8
prev1188:1cc9bb0b3848
next1195:072131b61d2a
author nkeynes
date Thu Dec 01 08:02:13 2011 +1000 (10 years ago)
permissions -rw-r--r--
last change Fix make check
file annotate diff log raw
1.1 --- a/src/xlat/xltcache.c Thu Dec 01 01:50:44 2011 +1000
1.2 +++ b/src/xlat/xltcache.c Thu Dec 01 08:02:13 2011 +1000
1.3 @@ -613,7 +613,7 @@
1.4 return count;
1.5 }
1.6
1.7 -void xlat_get_block_sh4addrs( struct xlat_block_ref *blocks, unsigned int size )
1.8 +static void xlat_get_block_pcs( struct xlat_block_ref *blocks, unsigned int size )
1.9 {
1.10 unsigned i;
1.11 for( i=0; i<XLAT_LUT_PAGES;i ++ ) {
1.12 @@ -656,7 +656,7 @@
1.13
1.14 struct xlat_block_ref blocks[count];
1.15 xlat_get_active_blocks(blocks, count);
1.16 - xlat_get_block_sh4addrs(blocks,count);
1.17 + xlat_get_block_pcs(blocks,count);
1.18 qsort(blocks, count, sizeof(struct xlat_block_ref), xlat_compare_active_field);
1.19
1.20 if( topN > count )
.