aboutsummaryrefslogtreecommitdiff
path: root/kernel/kapi/tracked_mutex.cpp
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-09-03 15:06:05 +0200
committerFelix Morgner <felix.morgner@ost.ch>2026-09-03 15:06:05 +0200
commit60ad0c9a8da2cf265b1825cb555cebe9c96de069 (patch)
treeeade2e52c744cfa63ac0bc9888583c998cdd4751 /kernel/kapi/tracked_mutex.cpp
parentde85ad8d0558d0950506a7e64e7a5f2d48dc8485 (diff)
parent28114ae949130d39380a80800c60b5b334d61b19 (diff)
downloadkernel-60ad0c9a8da2cf265b1825cb555cebe9c96de069.tar.xz
kernel-60ad0c9a8da2cf265b1825cb555cebe9c96de069.zip
Merge branch 'fmorgner/code-style-cleanup' into 'develop'
chore: clean up code according to style guide See merge request teachos/kernel!58
Diffstat (limited to 'kernel/kapi/tracked_mutex.cpp')
-rw-r--r--kernel/kapi/tracked_mutex.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/kapi/tracked_mutex.cpp b/kernel/kapi/tracked_mutex.cpp
index b1796adc..1694d814 100644
--- a/kernel/kapi/tracked_mutex.cpp
+++ b/kernel/kapi/tracked_mutex.cpp
@@ -17,7 +17,7 @@ namespace kapi
{
if (expected == self)
{
- system::panic("[OS] CPU {} tried to reacquire a mutex it already holds!", self);
+ system::panic("[OS:LCK] CPU {} tried to reacquire a mutex it already holds!", self);
}
expected = kapi::cpu::invalid_id;
}
@@ -43,7 +43,7 @@ namespace kapi
if (!m_owner.compare_exchange_strong(expected, kapi::cpu::invalid_id, std::memory_order::release))
{
- system::panic("[OS] CPU {} released a mutex it did not hold!", self);
+ system::panic("[OS:LCK] CPU {} released a mutex it did not hold!", self);
}
}