]> asedeno.scripts.mit.edu Git - linux.git/commit
xtensa: fix initialization of pt_regs::syscall in start_thread
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 4 Apr 2019 03:22:42 +0000 (20:22 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Thu, 4 Apr 2019 06:18:39 +0000 (23:18 -0700)
commit2663147dc7465cb29040a05cc4286fdd839978b5
tree7c1d90d0abadb5a57817fad42cde06de5d8101f1
parent2201f31f2c6d6030cbd2f7085455e2172725b1c5
xtensa: fix initialization of pt_regs::syscall in start_thread

New pt_regs should indicate that there's no syscall, not that there's
syscall #0. While at it wrap macro body in do/while and parenthesize
macro arguments.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/processor.h