numa: change address argument type from unsigned long to kernel_ureg_t
* numa.c (print_nodemask): Change address argument type from unsigned long to kernel_ureg_t.
This commit is contained in:
parent
d7f98585ef
commit
ef0d6e4699
3
numa.c
3
numa.c
@ -43,7 +43,8 @@ print_node(struct tcb *tcp, void *elem_buf, size_t elem_size, void *data)
|
||||
}
|
||||
|
||||
static void
|
||||
print_nodemask(struct tcb *tcp, unsigned long addr, unsigned long maxnodes)
|
||||
print_nodemask(struct tcb *const tcp, const kernel_ureg_t addr,
|
||||
const unsigned long maxnodes)
|
||||
{
|
||||
const unsigned long nmemb =
|
||||
(maxnodes + 8 * current_wordsize - 2) / (8 * current_wordsize);
|
||||
|
Loading…
x
Reference in New Issue
Block a user