summaryrefslogtreecommitdiff
path: root/kexec
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-02-08 19:05:50 +0900
committerSimon Horman <horms@verge.net.au>2007-02-08 20:59:05 +0900
commitc0c8232ff9385cb9abed468eebaef2cc0d6b1450 (patch)
tree8d48ed2eeb1fd4176d423d7083cd2df4a4d5e0ad /kexec
parent49c5c5b662774e91ecebd95e4f7650e6567a6624 (diff)
Trivial change adding sh4a to the sh targets.
Trivial change adding sh4a to the sh targets. Signed-off-by: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec')
-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;
}