mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 14:12:06 +00:00
[ia64] missed cleanups from switch to regset coredumps
a bunch of function could've been made static back in 2008 when ia64 switched to regset-based coredumps Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
1510723087
commit
3b2d387c5e
@ -487,7 +487,7 @@ do_copy_task_regs (struct task_struct *task, struct unw_frame_info *info, void *
|
||||
unw_get_ar(info, UNW_AR_SSD, &dst[56]);
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
do_copy_regs (struct unw_frame_info *info, void *arg)
|
||||
{
|
||||
do_copy_task_regs(current, info, arg);
|
||||
|
@ -1491,7 +1491,7 @@ struct regset_membuf {
|
||||
int ret;
|
||||
};
|
||||
|
||||
void do_gpregs_get(struct unw_frame_info *info, void *arg)
|
||||
static void do_gpregs_get(struct unw_frame_info *info, void *arg)
|
||||
{
|
||||
struct regset_membuf *dst = arg;
|
||||
struct membuf to = dst->to;
|
||||
@ -1524,7 +1524,7 @@ void do_gpregs_get(struct unw_frame_info *info, void *arg)
|
||||
}
|
||||
}
|
||||
|
||||
void do_gpregs_set(struct unw_frame_info *info, void *arg)
|
||||
static void do_gpregs_set(struct unw_frame_info *info, void *arg)
|
||||
{
|
||||
struct regset_getset *dst = arg;
|
||||
|
||||
@ -1569,7 +1569,7 @@ void do_gpregs_set(struct unw_frame_info *info, void *arg)
|
||||
|
||||
#define ELF_FP_OFFSET(i) (i * sizeof(elf_fpreg_t))
|
||||
|
||||
void do_fpregs_get(struct unw_frame_info *info, void *arg)
|
||||
static void do_fpregs_get(struct unw_frame_info *info, void *arg)
|
||||
{
|
||||
struct task_struct *task = info->task;
|
||||
struct regset_membuf *dst = arg;
|
||||
@ -1603,7 +1603,7 @@ void do_fpregs_get(struct unw_frame_info *info, void *arg)
|
||||
membuf_zero(&to, 96 * sizeof(reg));
|
||||
}
|
||||
|
||||
void do_fpregs_set(struct unw_frame_info *info, void *arg)
|
||||
static void do_fpregs_set(struct unw_frame_info *info, void *arg)
|
||||
{
|
||||
struct regset_getset *dst = arg;
|
||||
elf_fpreg_t fpreg, tmp[30];
|
||||
|
Loading…
Reference in New Issue
Block a user