aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched/isolation.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2018-01-18 14:54:54 -0600
committerEric W. Biederman <ebiederm@xmission.com>2018-01-22 19:07:09 -0600
commitf8ec66014ffd95a783b1f9f3b62d7cadb96b78d5 (patch)
tree6e57bcf6bcd9e70ccc1b1cd89345299dc9105a33 /include/linux/sched/isolation.h
parentsignal: Replace memset(info,...) with clear_siginfo for clarity (diff)
downloadlinux-dev-f8ec66014ffd95a783b1f9f3b62d7cadb96b78d5.tar.xz
linux-dev-f8ec66014ffd95a783b1f9f3b62d7cadb96b78d5.zip
signal: Add send_sig_fault and force_sig_fault
The vast majority of signals sent from architecture specific code are simple faults. Encapsulate this reality with two helper functions so that the nit-picky implementation of preparing a siginfo does not need to be repeated many times on each architecture. As only some architectures support the trapno field, make the trapno arguement only present on those architectures. Similary as ia64 has three fields: imm, flags, and isr that are specific to it. Have those arguments always present on ia64 and no where else. This ensures the architecture specific code always remembers which fields it needs to pass into the siginfo structure. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'include/linux/sched/isolation.h')
0 files changed, 0 insertions, 0 deletions