xen/riscv: use printk() instead of early_printk()

As common code is available it is better to use printk() instead
of early_printk().

Also the printing of "Hello from RISC-V world" is dropped as
it is useless and "All set up is enough".

Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Oleksii Kurochko authored and Jan Beulich committed 2024-08-01 09:41:25 +02:00
1 parent f96d008fb0
commit b07e1e0794
1 file changed
+1 -3
+1 -3
View File
@@ -23,9 +23,7 @@ void __init noreturn start_xen(unsigned long bootcpu_id,
{
remove_identity_mapping();
early_printk("Hello from C env\n");
early_printk("All set up\n");
printk("All set up\n");
for ( ;; )
asm volatile ("wfi");
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.