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

Commit 0c4ec16b authored by Steven J. Magnani's avatar Steven J. Magnani Committed by Michal Simek
Browse files

microblaze: Fix "kstack=" parsing



The "kstack=" command line parameter is not parsed correctly.
All proper values are interpreted as zero.

Signed-off-by: default avatarSteven J. Magnani <steve@digidescorp.com>
Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent 2eaa9cfd
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -22,13 +22,11 @@ void trap_init(void)
	__enable_hw_exceptions();
}

static int kstack_depth_to_print = 24;
static unsigned long kstack_depth_to_print = 24;

static int __init kstack_setup(char *s)
{
	kstack_depth_to_print = strict_strtoul(s, 0, NULL);

	return 1;
	return !strict_strtoul(s, 0, &kstack_depth_to_print);
}
__setup("kstack=", kstack_setup);