microblaze: Move restart allowed out of block
authorMichal Simek <monstr@monstr.eu>
Mon, 17 Sep 2012 09:18:24 +0000 (11:18 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 3 Feb 2013 23:16:02 +0000 (18:16 -0500)
Better not to break block which do work together.

Signed-off-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/microblaze/kernel/entry.S

index 85b6b5d..0536bc0 100644 (file)
@@ -353,8 +353,8 @@ C_ENTRY(_user_exception):
        /* Figure out which function to use for this system call.  */
        /* Note Microblaze barrel shift is optional, so don't rely on it */
        add     r12, r12, r12;                  /* convert num -> ptr */
-       addi    r30, r0, 1                      /* restarts allowed */
        add     r12, r12, r12;
+       addi    r30, r0, 1                      /* restarts allowed */
 
 #ifdef DEBUG
        /* Trac syscalls and stored them to syscall_debug_table */