store_status(__do_machine_kdump, image);
}
-static unsigned long do_start_kdump(unsigned long addr)
+static int do_start_kdump(struct kimage *image)
{
- struct kimage *image = (struct kimage *) addr;
int (*start_kdump)(int) = (void *)image->start;
int rc;
int rc;
preempt_disable();
- rc = call_on_stack(1, S390_lowcore.nodat_stack, unsigned long, do_start_kdump,
- unsigned long, (unsigned long)image);
+ rc = call_on_stack(1, S390_lowcore.nodat_stack, int, do_start_kdump,
+ struct kimage *, image);
preempt_enable();
return rc == 0;
#else