microblaze: clean up signal handling
When legacy signal handling is disabled, the arch/microblaze/kernel/signal.c implementation can be much simpler, as most of it is handled generically from kernel/signal.c. This is also a prerequisite for using the generic asm/unistd.h, which does not provide __NR_sigreturn, because this macro is referenced by the current signal.c implementation. Signed-off-by:Arnd Bergmann <arnd@arndb.de> Signed-off-by:
Michal Simek <monstr@monstr.eu>
Showing
- arch/microblaze/include/asm/signal.h 1 addition, 165 deletionsarch/microblaze/include/asm/signal.h
- arch/microblaze/include/asm/syscalls.h 2 additions, 9 deletionsarch/microblaze/include/asm/syscalls.h
- arch/microblaze/include/asm/unistd.h 1 addition, 1 deletionarch/microblaze/include/asm/unistd.h
- arch/microblaze/kernel/entry-nommu.S 0 additions, 8 deletionsarch/microblaze/kernel/entry-nommu.S
- arch/microblaze/kernel/entry.S 0 additions, 23 deletionsarch/microblaze/kernel/entry.S
- arch/microblaze/kernel/signal.c 36 additions, 136 deletionsarch/microblaze/kernel/signal.c
- arch/microblaze/kernel/syscall_table.S 3 additions, 3 deletionsarch/microblaze/kernel/syscall_table.S
Please register or sign in to comment