printf: use printf instead of printk in no_printk

The original commit was decoupling them a bit to allow for implementing
a printk with Linux semantics. This also requires us that no_printf has
no dependency on printk, but that was missed. Add that now.

Signed-off-by: Ahmad Fatoum <[email protected]>
---
 include/printf.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/printf.h b/include/printf.h
index 58793bc067dc..3503b72c9e5e 100644
--- a/include/printf.h
+++ b/include/printf.h
@@ -37,7 +37,7 @@ void __noreturn panic_no_stacktrace(const char *fmt, ...) 
__printf(1, 2);
 #define no_printf(fmt, ...)                            \
 ({                                                     \
        if (0)                                          \
-               printk(fmt, ##__VA_ARGS__);             \
+               printf(fmt, ##__VA_ARGS__);             \
        0;                                              \
 })
 
-- 
2.47.3


Reply via email to