Fixes and cleanup.
This commit is contained in:
parent
f8c1c0e968
commit
6b0eb6878b
2 changed files with 1 additions and 6 deletions
5
umem.c
5
umem.c
|
@ -3058,12 +3058,7 @@ umem_cache_init(void)
|
|||
* umem_startup() is called early on, and must be called explicitly if we're
|
||||
* the standalone version.
|
||||
*/
|
||||
#ifdef UMEM_STANDALONE
|
||||
void
|
||||
#else
|
||||
/* #pragma init(umem_startup) */
|
||||
static void
|
||||
#endif
|
||||
umem_startup(caddr_t start, size_t len, size_t pagesize, caddr_t minstack,
|
||||
caddr_t maxstack)
|
||||
{
|
||||
|
|
|
@ -375,7 +375,7 @@ typedef struct umem_cpu {
|
|||
uint32_t cpu_number;
|
||||
} umem_cpu_t;
|
||||
|
||||
#define UMEM_MAXBUF 16384 /* Solaris/SmartOS defines this as 131072 */
|
||||
#define UMEM_MAXBUF 131072
|
||||
|
||||
#define UMEM_ALIGN 8 /* min guaranteed alignment */
|
||||
#define UMEM_ALIGN_SHIFT 3 /* log2(UMEM_ALIGN) */
|
||||
|
|
Loading…
Reference in a new issue