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 /kern/sref.c | |
parent | 5548178e6c7355c250f2d938e7502040c55228a3 (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.c | 2 |
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); |