Fix minor issue in sys/mips/mips/cache_mipsNN.c, using int type for

virtual addr will break on 64 bit, change to vm_offset_t.

Reviewed by:	imp@
Approved by:	rrs (mentor)
This commit is contained in:
jchandra 2010-07-08 14:56:42 +00:00
parent 5be567ad5f
commit 2618cee6cb

View File

@ -404,7 +404,7 @@ mipsNN_pdcache_wbinv_range_32(vm_offset_t va, vm_size_t size)
void void
mipsNN_pdcache_wbinv_range_index_16(vm_offset_t va, vm_size_t size) mipsNN_pdcache_wbinv_range_index_16(vm_offset_t va, vm_size_t size)
{ {
unsigned int eva, tmpva; vm_offset_t eva, tmpva;
int i, stride, loopcount; int i, stride, loopcount;
/* /*
@ -445,7 +445,7 @@ mipsNN_pdcache_wbinv_range_index_16(vm_offset_t va, vm_size_t size)
void void
mipsNN_pdcache_wbinv_range_index_32(vm_offset_t va, vm_size_t size) mipsNN_pdcache_wbinv_range_index_32(vm_offset_t va, vm_size_t size)
{ {
unsigned int eva, tmpva; vm_offset_t eva, tmpva;
int i, stride, loopcount; int i, stride, loopcount;
/* /*