[PATCH 3/4] cobalt/syscall: use raw_printk() for serial debug output
Philippe Gerum
rpm at xenomai.org
Sat Dec 5 13:00:13 CET 2020
From: Philippe Gerum <rpm at xenomai.org>
__ipipe_serial_debug() is a legacy wrapper to the current raw_printk()
service. Drop the last in-tree reference to this obsolete call.
No functional change is introduced.
Signed-off-by: Philippe Gerum <rpm at xenomai.org>
---
kernel/cobalt/posix/syscall.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/cobalt/posix/syscall.c b/kernel/cobalt/posix/syscall.c
index a9c979903..0a09322be 100644
--- a/kernel/cobalt/posix/syscall.c
+++ b/kernel/cobalt/posix/syscall.c
@@ -262,7 +262,7 @@ static COBALT_SYSCALL(serialdbg, current,
n = sizeof(buf);
if (cobalt_copy_from_user(buf, u_msg, n))
return -EFAULT;
- __ipipe_serial_debug("%.*s", n, buf);
+ raw_printk("%.*s", n, buf);
u_msg += n;
len -= n;
}
--
2.26.2
More information about the Xenomai
mailing list