Commit dd1080db authored by Philippe Gerum's avatar Philippe Gerum Committed by Jan Kiszka

cobalt/debug: pipeline: abstract panic prep call

No functional change is introduced.
Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <rpm@xenomai.org>
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent 86295f90
......@@ -70,4 +70,9 @@ static inline void pipeline_send_timer_ipi(const struct cpumask *dest)
#endif
static inline void pipeline_prepare_panic(void)
{
ipipe_prepare_panic();
}
#endif /* !_COBALT_KERNEL_IPIPE_PIPELINE_H */
......@@ -587,7 +587,7 @@ int xnlock_dbg_release(struct xnlock *lock,
}
if (unlikely(lock->owner != cpu)) {
ipipe_prepare_panic();
pipeline_prepare_panic();
printk(XENO_ERR "lock %p already unlocked on CPU #%d\n"
" last owner = %s:%u (%s(), CPU #%d)\n",
lock, cpu, lock->file, lock->line, lock->function,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment