diff options
| -rw-r--r-- | arch/microblaze/kernel/entry.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/microblaze/kernel/entry.S b/arch/microblaze/kernel/entry.S index 0536bc021cc6..5dcb0e1a41c4 100644 --- a/arch/microblaze/kernel/entry.S +++ b/arch/microblaze/kernel/entry.S | |||
| @@ -349,7 +349,7 @@ C_ENTRY(_user_exception): | |||
| 349 | * should return. [note that MAKE_SYS_CALL uses label 1] */ | 349 | * should return. [note that MAKE_SYS_CALL uses label 1] */ |
| 350 | /* See if the system call number is valid */ | 350 | /* See if the system call number is valid */ |
| 351 | addi r11, r12, -__NR_syscalls; | 351 | addi r11, r12, -__NR_syscalls; |
| 352 | bgei r11,5f; | 352 | bgei r11, 5f; |
| 353 | /* Figure out which function to use for this system call. */ | 353 | /* Figure out which function to use for this system call. */ |
| 354 | /* Note Microblaze barrel shift is optional, so don't rely on it */ | 354 | /* Note Microblaze barrel shift is optional, so don't rely on it */ |
| 355 | add r12, r12, r12; /* convert num -> ptr */ | 355 | add r12, r12, r12; /* convert num -> ptr */ |
| @@ -411,7 +411,7 @@ C_ENTRY(ret_from_trap): | |||
| 411 | bri 1b | 411 | bri 1b |
| 412 | 412 | ||
| 413 | /* Maybe handle a signal */ | 413 | /* Maybe handle a signal */ |
| 414 | 5: | 414 | 5: |
| 415 | andi r11, r19, _TIF_SIGPENDING | _TIF_NOTIFY_RESUME; | 415 | andi r11, r19, _TIF_SIGPENDING | _TIF_NOTIFY_RESUME; |
| 416 | beqi r11, 4f; /* Signals to handle, handle them */ | 416 | beqi r11, 4f; /* Signals to handle, handle them */ |
| 417 | 417 | ||
