Revision 21753583056d48a5fad964d6f272e28168426845 authored by Mark Rutland on 28 October 2016, 00:46:24 UTC, committed by Linus Torvalds on 28 October 2016, 01:43:42 UTC
Back in commit f56141e3e2d9 ("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: f56141e3e2d9 ("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>
1 parent b274c0b
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 5.2 KB |
README.rst | -rw-r--r-- | 1.9 KB |
bpf_helpers.h | -rw-r--r-- | 5.8 KB |
bpf_load.c | -rw-r--r-- | 9.6 KB |
bpf_load.h | -rw-r--r-- | 858 bytes |
fds_example.c | -rw-r--r-- | 4.0 KB |
lathist_kern.c | -rw-r--r-- | 2.1 KB |
lathist_user.c | -rw-r--r-- | 2.0 KB |
libbpf.c | -rw-r--r-- | 3.4 KB |
libbpf.h | -rw-r--r-- | 5.4 KB |
map_perf_test_kern.c | -rw-r--r-- | 2.5 KB |
map_perf_test_user.c | -rw-r--r-- | 3.2 KB |
offwaketime_kern.c | -rw-r--r-- | 3.5 KB |
offwaketime_user.c | -rw-r--r-- | 2.4 KB |
parse_ldabs.c | -rw-r--r-- | 1.1 KB |
parse_simple.c | -rw-r--r-- | 1.2 KB |
parse_varlen.c | -rw-r--r-- | 3.4 KB |
sampleip_kern.c | -rw-r--r-- | 914 bytes |
sampleip_user.c | -rw-r--r-- | 4.2 KB |
sock_example.c | -rw-r--r-- | 2.7 KB |
sockex1_kern.c | -rw-r--r-- | 648 bytes |
sockex1_user.c | -rw-r--r-- | 979 bytes |
sockex2_kern.c | -rw-r--r-- | 4.7 KB |
sockex2_user.c | -rw-r--r-- | 1.0 KB |
sockex3_kern.c | -rw-r--r-- | 6.1 KB |
sockex3_user.c | -rw-r--r-- | 1.4 KB |
spintest_kern.c | -rw-r--r-- | 2.1 KB |
spintest_user.c | -rw-r--r-- | 1.0 KB |
tcbpf1_kern.c | -rw-r--r-- | 2.5 KB |
tcbpf2_kern.c | -rw-r--r-- | 8.1 KB |
test_cgrp2_array_pin.c | -rw-r--r-- | 2.2 KB |
test_cgrp2_tc.sh | -rwxr-xr-x | 4.1 KB |
test_cgrp2_tc_kern.c | -rw-r--r-- | 1.8 KB |
test_cls_bpf.sh | -rwxr-xr-x | 880 bytes |
test_current_task_under_cgroup_kern.c | -rw-r--r-- | 1.1 KB |
test_current_task_under_cgroup_user.c | -rw-r--r-- | 3.2 KB |
test_ipip.sh | -rwxr-xr-x | 5.6 KB |
test_maps.c | -rw-r--r-- | 13.3 KB |
test_overhead_kprobe_kern.c | -rw-r--r-- | 1.0 KB |
test_overhead_tp_kern.c | -rw-r--r-- | 828 bytes |
test_overhead_user.c | -rw-r--r-- | 3.2 KB |
test_probe_write_user_kern.c | -rw-r--r-- | 1.6 KB |
test_probe_write_user_user.c | -rw-r--r-- | 2.4 KB |
test_tunnel_bpf.sh | -rwxr-xr-x | 4.2 KB |
test_verifier.c | -rw-r--r-- | 74.0 KB |
trace_event_kern.c | -rw-r--r-- | 1.7 KB |
trace_event_user.c | -rw-r--r-- | 4.6 KB |
trace_output_kern.c | -rw-r--r-- | 609 bytes |
trace_output_user.c | -rw-r--r-- | 4.0 KB |
tracex1_kern.c | -rw-r--r-- | 1.4 KB |
tracex1_user.c | -rw-r--r-- | 403 bytes |
tracex2_kern.c | -rw-r--r-- | 2.3 KB |
tracex2_user.c | -rw-r--r-- | 3.0 KB |
tracex3_kern.c | -rw-r--r-- | 2.1 KB |
tracex3_user.c | -rw-r--r-- | 3.1 KB |
tracex4_kern.c | -rw-r--r-- | 1.2 KB |
tracex4_user.c | -rw-r--r-- | 1.4 KB |
tracex5_kern.c | -rw-r--r-- | 1.9 KB |
tracex5_user.c | -rw-r--r-- | 1.1 KB |
tracex6_kern.c | -rw-r--r-- | 611 bytes |
tracex6_user.c | -rw-r--r-- | 1.4 KB |
xdp1_kern.c | -rw-r--r-- | 2.1 KB |
xdp1_user.c | -rw-r--r-- | 3.9 KB |
xdp2_kern.c | -rw-r--r-- | 2.4 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...