Revert r281543. It causes a panic/hang early in boot for a number of

users, myself included.  The original code is likely papering over a
larger bug that needs to be explored, but for now get things back to
a working state.

Obtained from:	Netflix, Inc.
This commit is contained in:
scottl 2015-04-24 17:05:18 +00:00
parent b8b36803fa
commit 8518c5cf96

View File

@ -311,7 +311,7 @@ struct uma_zone {
* This HAS to be the last item because we adjust the zone size
* based on NCPU and then allocate the space for the zones.
*/
struct uma_cache uz_cpu[]; /* Per cpu caches */
struct uma_cache uz_cpu[1]; /* Per cpu caches */
};
/*