Back in commit f56141e3 ("all arches, signal: move restart_block to
struct task_struct"), all architectures and core code were changed to
use task_struct::restart_block. However, when h8300 support was
subsequently restored in v4.2, it was not updated to account for this,
and maintains thread_info::restart_block, which is not kept in sync.
This patch drops the redundant restart_block from thread_info, and moves
h8300 to the common one in task_struct, ensuring that syscall restarting
always works as expected.
Fixes: f56141e3 ("all arches, signal: move restart_block to struct task_struct")
Link: http://firstname.lastname@example.orgSigned-off-by: Mark Rutland <email@example.com>
Cc: Andy Lutomirski <firstname.lastname@example.org>
Cc: Yoshinori Sato <email@example.com>
Cc: <firstname.lastname@example.org> [4.2+]
Signed-off-by: Andrew Morton <email@example.com>
Signed-off-by: Linus Torvalds <firstname.lastname@example.org>