summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-03-24 11:06:23 +0100
committerMichal Simek <monstr@monstr.eu>2010-04-01 08:38:24 +0200
commit3f2189358666b6fa09d41f527be07b3cc8026050 (patch)
tree19396aa91772c954e297f5a4cd9c7ab3fa88078d
parent0691c97d74cbdfd49333ef01939ecaef158ebe1b (diff)
downloadlinux-3.10-3f2189358666b6fa09d41f527be07b3cc8026050.tar.gz
linux-3.10-3f2189358666b6fa09d41f527be07b3cc8026050.tar.bz2
linux-3.10-3f2189358666b6fa09d41f527be07b3cc8026050.zip
microblaze: head.S typo fix
I forget to change register name in comments. Signed-off-by: Michal Simek <monstr@monstr.eu>
-rw-r--r--arch/microblaze/kernel/head.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/microblaze/kernel/head.S b/arch/microblaze/kernel/head.S
index ba2c0333c6b..da6a5f5dc76 100644
--- a/arch/microblaze/kernel/head.S
+++ b/arch/microblaze/kernel/head.S
@@ -105,8 +105,8 @@ no_fdt_arg:
tophys(r4,r4) /* convert to phys address */
ori r3, r0, COMMAND_LINE_SIZE - 1 /* number of loops */
_copy_command_line:
- lbu r2, r5, r6 /* r7=r5+r6 - r5 contain pointer to command line */
- sb r2, r4, r6 /* addr[r4+r6]= r7*/
+ lbu r2, r5, r6 /* r2=r5+r6 - r5 contain pointer to command line */
+ sb r2, r4, r6 /* addr[r4+r6]= r2*/
addik r6, r6, 1 /* increment counting */
bgtid r3, _copy_command_line /* loop for all entries */
addik r3, r3, -1 /* descrement loop */