Ensure vmem_size() calculations are only used on __i386 or we will
missize the arch cache on 64bit machines with the SPL. This change should probably be there in the Solaris version as well.
This commit is contained in:
parent
95790e35ce
commit
c3ec929baf
|
@ -3347,7 +3347,7 @@ arc_init(void)
|
||||||
/* Start out with 1/8 of all memory */
|
/* Start out with 1/8 of all memory */
|
||||||
arc_c = physmem * PAGESIZE / 8;
|
arc_c = physmem * PAGESIZE / 8;
|
||||||
|
|
||||||
#ifdef _KERNEL
|
#if defined(_KERNEL) && defined(__i386)
|
||||||
/*
|
/*
|
||||||
* On architectures where the physical memory can be larger
|
* On architectures where the physical memory can be larger
|
||||||
* than the addressable space (intel in 32-bit mode), we may
|
* than the addressable space (intel in 32-bit mode), we may
|
||||||
|
|
Loading…
Reference in New Issue