microblaze: Coding style cleanup
No function change. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
Родитель
13a7a6ac0a
Коммит
074fa7e76c
|
@ -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):
|
||||||
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 */
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче