From eeefa71518cff0426bf83774dceaeaed6028769b Mon Sep 17 00:00:00 2001 From: marcel Date: Tue, 4 Oct 2011 17:00:50 +0000 Subject: Properly guard definitions of DFLDSIZ, MAXDSIZ, DFLSSIZ, MAXSSIZ and SGROWSIZ. They can be set in the kernel configuration file. --- sys/arm/include/vmparam.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sys/arm/include/vmparam.h b/sys/arm/include/vmparam.h index dd1ba1c..f85fa58 100644 --- a/sys/arm/include/vmparam.h +++ b/sys/arm/include/vmparam.h @@ -141,11 +141,21 @@ #endif #define MAXTSIZ (16*1024*1024) +#ifndef DFLDSIZ #define DFLDSIZ (128*1024*1024) +#endif +#ifndef MAXDSIZ #define MAXDSIZ (512*1024*1024) +#endif +#ifndef DFLSSIZ #define DFLSSIZ (2*1024*1024) +#endif +#ifndef MAXSSIZ #define MAXSSIZ (8*1024*1024) +#endif +#ifndef SGROWSIZ #define SGROWSIZ (128*1024) +#endif #ifdef ARM_USE_SMALL_ALLOC #define UMA_MD_SMALL_ALLOC -- cgit v1.1