diff options
author | Richard Braun <rbraun@sceen.net> | 2017-01-24 00:33:55 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-01-24 00:33:55 +0100 |
commit | 01d8174055a1fe4c5914fb9f122099bf6b1d63f4 (patch) | |
tree | fd77b7ec5fae42ea397fe080cb141e90afd64c5b /arch/x86 | |
parent | 5548178e6c7355c250f2d938e7502040c55228a3 (diff) |
kern/thread: add the THREAD_KERNEL_PREFIX macro
This macro is used to build kernel thread names.
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/machine/pmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/machine/pmap.c b/arch/x86/machine/pmap.c index 273b89c..bcbaec5 100644 --- a/arch/x86/machine/pmap.c +++ b/arch/x86/machine/pmap.c @@ -1038,7 +1038,7 @@ pmap_mp_setup(void) for (cpu = 0; cpu < cpu_count(); cpu++) { syncer = percpu_ptr(pmap_syncer, cpu); - snprintf(name, sizeof(name), "x15_pmap_sync/%u", cpu); + snprintf(name, sizeof(name), THREAD_KERNEL_PREFIX "pmap_sync/%u", cpu); cpumap_zero(cpumap); cpumap_set(cpumap, cpu); thread_attr_init(&attr, name); |