Commit 074fa7e7 authored by Michal Simek's avatar Michal Simek

microblaze: Coding style cleanup

No function change.
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 13a7a6ac
...@@ -349,7 +349,7 @@ C_ENTRY(_user_exception): ...@@ -349,7 +349,7 @@ C_ENTRY(_user_exception):
* should return. [note that MAKE_SYS_CALL uses label 1] */ * should return. [note that MAKE_SYS_CALL uses label 1] */
/* See if the system call number is valid */ /* See if the system call number is valid */
addi r11, r12, -__NR_syscalls; addi r11, r12, -__NR_syscalls;
bgei r11,5f; bgei r11, 5f;
/* Figure out which function to use for this system call. */ /* Figure out which function to use for this system call. */
/* Note Microblaze barrel shift is optional, so don't rely on it */ /* Note Microblaze barrel shift is optional, so don't rely on it */
add r12, r12, r12; /* convert num -> ptr */ add r12, r12, r12; /* convert num -> ptr */
...@@ -411,7 +411,7 @@ C_ENTRY(ret_from_trap): ...@@ -411,7 +411,7 @@ C_ENTRY(ret_from_trap):
bri 1b bri 1b
/* Maybe handle a signal */ /* Maybe handle a signal */
5: 5:
andi r11, r19, _TIF_SIGPENDING | _TIF_NOTIFY_RESUME; andi r11, r19, _TIF_SIGPENDING | _TIF_NOTIFY_RESUME;
beqi r11, 4f; /* Signals to handle, handle them */ beqi r11, 4f; /* Signals to handle, handle them */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment