OpenCloudOS-Kernel/arch/h8300/include/asm
Mark Rutland 2175358305 h8300: fix syscall restarting
Back in commit f56141e3e2 ("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: f56141e3e2 ("all arches, signal: move restart_block to struct task_struct")
Link: http://lkml.kernel.org/r/1476714934-11635-1-git-send-email-mark.rutland@arm.com
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: uclinux-h8-devel@lists.sourceforge.jp
Cc: <stable@vger.kernel.org>	[4.2+]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-10-27 18:43:42 -07:00
..
Kbuild word-at-a-time.h: fix some Kbuild files 2015-10-06 14:52:48 -04:00
atomic.h locking/atomic: Remove linux/atomic.h:atomic_fetch_or() 2016-06-16 10:48:32 +02:00
bitops.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
bitsperlong.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
bug.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
byteorder.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
cache.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
cmpxchg.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
dma-mapping.h dma-mapping: always provide the dma_map_ops based implementation 2016-01-20 17:09:18 -08:00
elf.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
flat.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
hash.h h8300: Add <asm/hash.h> 2016-05-28 15:48:58 -04:00
io.h h8300: Add missing include file to asm/io.h 2016-08-13 08:53:56 -07:00
irq.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
irqflags.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
kgdb.h h8300: Add KGDB support. 2016-01-20 23:27:30 +09:00
mutex.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
page.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
page_offset.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
pci.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
pgtable.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
processor.h exit_thread: remove empty bodies 2016-05-20 17:58:30 -07:00
ptrace.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
segment.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
signal.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
smp.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
string.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
switch_to.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
syscall.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
thread_info.h h8300: fix syscall restarting 2016-10-27 18:43:42 -07:00
tlb.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00
traps.h h8300: show_stack cleanup 2016-01-20 23:28:00 +09:00
user.h h8300: Assembly headers 2015-06-23 13:35:49 +09:00