summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-09-17 10:37:09 +0200
committerSimon Horman <horms@verge.net.au>2013-09-19 13:55:08 -0700
commit4adb9f139423e97bca3922c181d9fb6c3913c7ff (patch)
tree99c9603f3342c88f64b1865cdac520e521c1cd98
parentc9fb3b1a63169a5c3c7c35c98c40492833428a8a (diff)
kexec: Fix cris/superh comment mixups
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r--kexec/arch/cris/kexec-cris.c4
-rw-r--r--kexec/arch/sh/include/arch/options.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/kexec/arch/cris/kexec-cris.c b/kexec/arch/cris/kexec-cris.c
index 38876f6..67fd156 100644
--- a/kexec/arch/cris/kexec-cris.c
+++ b/kexec/arch/cris/kexec-cris.c
@@ -83,7 +83,7 @@ unsigned long virt_to_phys(unsigned long addr)
}
/*
- * add_segment() should convert base to a physical address on superh,
+ * add_segment() should convert base to a physical address on cris,
* while the default is just to work with base as is */
void add_segment(struct kexec_info *info, const void *buf, size_t bufsz,
unsigned long base, size_t memsz)
@@ -92,7 +92,7 @@ void add_segment(struct kexec_info *info, const void *buf, size_t bufsz,
}
/*
- * add_buffer() should convert base to a physical address on superh,
+ * add_buffer() should convert base to a physical address on cris,
* while the default is just to work with base as is */
unsigned long add_buffer(struct kexec_info *info, const void *buf,
unsigned long bufsz, unsigned long memsz,
diff --git a/kexec/arch/sh/include/arch/options.h b/kexec/arch/sh/include/arch/options.h
index 571b271..f923eb4 100644
--- a/kexec/arch/sh/include/arch/options.h
+++ b/kexec/arch/sh/include/arch/options.h
@@ -15,7 +15,7 @@
{"empty-zero", 1, 0, OPT_APPEND}, \
{"howto", 1, 0, OPT_NBSD_HOWTO}, \
{"miniroot", 1, 0, OPT_NBSD_MROOT},
-/* These options seem to be loader-specific rather than cris-specific, so
+/* These options seem to be loader-specific rather than superh-specific, so
* ought to be moved to KEXEC_ALL_OPTIONS below and parsed in the relevant
* loader, e.g. kexec-netbsd-sh.c
*/