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:
Jayachandran C. 2010-07-08 14:56:42 +00:00
parent 44fa0bf256
commit 76780f208c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209806

View File

@ -404,7 +404,7 @@ mipsNN_pdcache_wbinv_range_32(vm_offset_t va, vm_size_t size)
void
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;
/*
@ -445,7 +445,7 @@ mipsNN_pdcache_wbinv_range_index_16(vm_offset_t va, vm_size_t size)
void
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;
/*