note a leak that needs fixing eventually
[trinity.git] / syscalls / getcpu.c
blobd057623270f8476576700db03954d7c1e2d81b33
1 /*
2 * SYSCALL_DEFINE3(getcpu, unsigned __user *, cpup, unsigned __user *, nodep,
3 struct getcpu_cache __user *, unused)
4 */
5 #include "sanitise.h"
7 struct syscallentry syscall_getcpu = {
8 .name = "getcpu",
9 .num_args = 3,
10 .arg1name = "cpup",
11 .arg1type = ARG_ADDRESS,
12 .arg2name = "nodep",
13 .arg2type = ARG_ADDRESS,
14 .arg3name = "unused",
15 .arg3type = ARG_ADDRESS,
16 .rettype = RET_ZERO_SUCCESS,