microblaze: Not to clear r7 after copying DTB to kernel
authorMichal Simek <monstr@monstr.eu>
Mon, 22 Jun 2009 08:55:40 +0000 (10:55 +0200)
committerMichal Simek <monstr@monstr.eu>
Mon, 27 Jul 2009 05:39:54 +0000 (07:39 +0200)
I can't clear r7 because if I do it I lose information
where DTB come from.

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/head.S

index 815bcaae99c324d7e6dc042e9b7e3905aee4784c..3c4d4a2803e2fb2b0e6c5b8fc7befba5bcc877e5 100644 (file)
@@ -73,7 +73,6 @@ _copy_fdt:
        bgtid   r3, _copy_fdt /* loop for all entries */
        addik   r3, r3, -4 /* descrement loop */
 no_fdt_arg:
-       add     r7, r0, r0                      /* Clear r7, just to be sure */
 
 #ifdef CONFIG_MMU