diff options
author | Richard Braun <rbraun@sceen.net> | 2017-09-21 01:23:37 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-09-21 01:26:09 +0200 |
commit | b0b860e6cd8949c05da380dbe64b7c7c6ec75e7c (patch) | |
tree | a1c7d98eb2a370975bd82c6d3dc16349636ddddf /kern/percpu.c | |
parent | 833316f34266a5fab2668f34c03e45db64d0ce76 (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.c | 4 |
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)); |