Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ecb6c743 authored by Richard Weinberger's avatar Richard Weinberger
Browse files

um: Fix _print_addr()



Recent changes to printk() broke UML's stack trace
output. Kill the root of the problem by using a single
printk() statement.

Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent a351e9b9
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -20,10 +20,8 @@

static void _print_addr(void *data, unsigned long address, int reliable)
{
	pr_info(" [<%08lx>]", address);
	pr_cont(" %s", reliable ? "" : "? ");
	print_symbol("%s", address);
	pr_cont("\n");
	pr_info(" [<%08lx>] %s%pF\n", address, reliable ? "" : "? ",
		(void *)address);
}

static const struct stacktrace_ops stackops = {