strace/linux/avr32/set_scno.c
Dmitry V. Levin 7fa3d78319 Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t
Remove temporary types created for transition from long
to kernel_ulong_t.

Automatically replace kernel_scno_t and kernel_ureg_t with
kernel_ulong_t using
$ git grep -El 'kernel_(scno|ureg)_t' |
  xargs sed -ri 's/kernel_(scno|ureg)_t/kernel_ulong_t/g'

* kernel_types.h (kernel_scno_t, kernel_ureg_t): Remove.
All users updated.
2016-12-26 10:43:34 +00:00

7 lines
118 B
C

static int
arch_set_scno(struct tcb *tcp, kernel_ulong_t scno)
{
avr32_regs.r8 = scno;
return set_regs(tcp->pid);
}