summaryrefslogtreecommitdiff
path: root/kern/sref.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-01-24 00:33:55 +0100
committerRichard Braun <rbraun@sceen.net>2017-01-24 00:33:55 +0100
commit01d8174055a1fe4c5914fb9f122099bf6b1d63f4 (patch)
treefd77b7ec5fae42ea397fe080cb141e90afd64c5b /kern/sref.c
parent5548178e6c7355c250f2d938e7502040c55228a3 (diff)
kern/thread: add the THREAD_KERNEL_PREFIX macro
This macro is used to build kernel thread names.
Diffstat (limited to 'kern/sref.c')
-rw-r--r--kern/sref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/sref.c b/kern/sref.c
index a9253dc7..d8bb254a 100644
--- a/kern/sref.c
+++ b/kern/sref.c
@@ -737,7 +737,7 @@ sref_setup_manager(struct sref_cache *cache, unsigned int cpu)
cpumap_zero(cpumap);
cpumap_set(cpumap, cpu);
- snprintf(name, sizeof(name), "x15_sref_manage/%u", cpu);
+ snprintf(name, sizeof(name), THREAD_KERNEL_PREFIX "sref_manage/%u", cpu);
thread_attr_init(&attr, name);
thread_attr_set_cpumap(&attr, cpumap);
thread_attr_set_policy(&attr, THREAD_SCHED_POLICY_FIFO);