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:
Brian Behlendorf 2009-02-06 10:09:20 -08:00
parent 95790e35ce
commit c3ec929baf
1 changed files with 1 additions and 1 deletions

View File

@ -3347,7 +3347,7 @@ arc_init(void)
/* Start out with 1/8 of all memory */
arc_c = physmem * PAGESIZE / 8;
#ifdef _KERNEL
#if defined(_KERNEL) && defined(__i386)
/*
* On architectures where the physical memory can be larger
* than the addressable space (intel in 32-bit mode), we may