diff mbox

sh: fix kexec by removing check for old kexec-tools

Message ID 20091026103048.24085.71003.sendpatchset@rxone.opensource.se (mailing list archive)
State Accepted
Headers show

Commit Message

Magnus Damm Oct. 26, 2009, 10:30 a.m. UTC
None
diff mbox

Patch

--- 0001/arch/sh/kernel/machine_kexec.c
+++ work/arch/sh/kernel/machine_kexec.c	2009-10-26 19:15:04.000000000 +0900
@@ -46,12 +46,6 @@  void machine_crash_shutdown(struct pt_re
  */
 int machine_kexec_prepare(struct kimage *image)
 {
-	/* older versions of kexec-tools are passing
-	 * the zImage entry point as a virtual address.
-	 */
-	if (image->start != __pa(image->start))
-		return -EINVAL; /* upgrade your kexec-tools */
-
 	return 0;
 }