summaryrefslogtreecommitdiff
path: root/src/til_util.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-06-05 14:57:08 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-06-05 14:57:08 -0700
commit9c3a5bad857ac5ee8584e96ee66c2e337efa55c0 (patch)
treef361dbce6e2eb08b3185934ea451110bbe23e221 /src/til_util.c
parent2dc2abb1d213012336c21e91bea350a64ba48cda (diff)
til_limits: introduce til_limits.h w/TIL_MAXCPUS inside
This makes TIL_MAXCPUS a proper thing
Diffstat (limited to 'src/til_util.c')
-rw-r--r--src/til_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/til_util.c b/src/til_util.c
index e91f9d6..b87a2d8 100644
--- a/src/til_util.c
+++ b/src/til_util.c
@@ -12,10 +12,10 @@
#include <sys/sysctl.h>
#endif
+#include "til_limits.h"
#include "til_util.h"
#define TIL_SYSFS_CPU "/sys/devices/system/cpu/cpu"
-#define TIL_MAXCPUS 1024
unsigned til_get_ncpus(void)
{
© All Rights Reserved