diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | kexec/arch/sh/kexec-sh.c | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 017d06c..9396d4b 100644 --- a/configure.ac +++ b/configure.ac @@ -31,7 +31,7 @@ case $host_cpu in s390x ) host_cpu="s390" ;; - sh4|sh3 ) + sh4|sh4a|sh3 ) host_cpu="sh" ;; * ) 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; } |