summaryrefslogtreecommitdiff
path: root/kexec/arch/sh/kexec-sh.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/arch/sh/kexec-sh.c')
-rw-r--r--kexec/arch/sh/kexec-sh.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/kexec/arch/sh/kexec-sh.c b/kexec/arch/sh/kexec-sh.c
index 3d1ce08..491ade1 100644
--- a/kexec/arch/sh/kexec-sh.c
+++ b/kexec/arch/sh/kexec-sh.c
@@ -114,10 +114,12 @@ int arch_compat_trampoline(struct kexec_info *info)
return -1;
}
if ( (strcmp(utsname.machine, "sh3") == 0) ||
- (strcmp(utsname.machine, "sh4") == 0))
+ (strcmp(utsname.machine, "sh4") == 0) ||
+ (strcmp(utsname.machine, "sh4a") == 0))
{
- /* For compatibility with older patches
- * use KEXEC_ARCH_DEFAULT instead of KEXEC_ARCH_IA64 here.
+ /*
+ * For compatibility with older patches
+ * use KEXEC_ARCH_DEFAULT instead of KEXEC_ARCH_SH here.
*/
info->kexec_flags |= KEXEC_ARCH_DEFAULT;
}