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 815bcaa..3c4d4a2 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