summaryrefslogtreecommitdiff
path: root/kern/percpu.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-09-21 01:23:37 +0200
committerRichard Braun <rbraun@sceen.net>2017-09-21 01:26:09 +0200
commit1ff3666dc29c0eacf911c57d3e6b6a62bdc9cb78 (patch)
treea1c7d98eb2a370975bd82c6d3dc16349636ddddf /kern/percpu.c
parentd115a8cee02be828d46651a5fc91fdbfe23985f2 (diff)
New build system
The new build system, called xbuild, is a minimalistic kbuild-like make-based build system, also using kconfig for scalable configurations.
Diffstat (limited to 'kern/percpu.c')
-rw-r--r--kern/percpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/percpu.c b/kern/percpu.c
index 7621bb29..62c3d22e 100644
--- a/kern/percpu.c
+++ b/kern/percpu.c
@@ -30,7 +30,7 @@
#include <vm/vm_kmem.h>
#include <vm/vm_page.h>
-void *percpu_areas[X15_MAX_CPUS] __read_mostly;
+void *percpu_areas[CONFIG_MAX_CPUS] __read_mostly;
static void *percpu_area_content __initdata;
static size_t percpu_area_size __initdata;
@@ -52,7 +52,7 @@ percpu_setup(void)
unsigned int order;
percpu_area_size = &_percpu_end - &_percpu;
- log_info("percpu: max_cpus: %u, section size: %zuk", X15_MAX_CPUS,
+ log_info("percpu: max_cpus: %u, section size: %zuk", CONFIG_MAX_CPUS,
percpu_area_size >> 10);
assert(vm_page_aligned(percpu_area_size));