diff options
Diffstat (limited to 'arch/sh/kernel/machine_kexec.c')
| -rw-r--r-- | arch/sh/kernel/machine_kexec.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/sh/kernel/machine_kexec.c b/arch/sh/kernel/machine_kexec.c index 7ea2704ea033..76f280223ebd 100644 --- a/arch/sh/kernel/machine_kexec.c +++ b/arch/sh/kernel/machine_kexec.c | |||
| @@ -46,12 +46,6 @@ void machine_crash_shutdown(struct pt_regs *regs) | |||
| 46 | */ | 46 | */ |
| 47 | int machine_kexec_prepare(struct kimage *image) | 47 | int machine_kexec_prepare(struct kimage *image) |
| 48 | { | 48 | { |
| 49 | /* older versions of kexec-tools are passing | ||
| 50 | * the zImage entry point as a virtual address. | ||
| 51 | */ | ||
| 52 | if (image->start != PHYSADDR(image->start)) | ||
| 53 | return -EINVAL; /* upgrade your kexec-tools */ | ||
| 54 | |||
| 55 | return 0; | 49 | return 0; |
| 56 | } | 50 | } |
| 57 | 51 | ||
