]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
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 85b6b5d80c995661c3ad8c1e004721d7cb643a91..0536bc021cc6c66667f0cbb66601c86b0ace9c10 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 */