/* That function parses "simple" (old) crashkernel command lines like  */
static int __init parse_crashkernel_simple(char *cmdline, unsigned long long *crash_size, unsigned long long *crash_base)
/* That function parses "simple" (old) crashkernel command lines like  */
static int __init parse_crashkernel_simple(char *cmdline, unsigned long long *crash_size, unsigned long long *crash_base)
{
	char *cur = cmdline;
	*crash_size = memparse(cmdline, &cur);
	if (cmdline == cur) {
		pr_warning("crashkernel: memory value expected\n");
		return -EINVAL;
	}
	if (*cur == '@')
		*crash_base = memparse(cur+1, &cur);
	return 0;
}