blob: 9d994b03c11ec0c9ff67a77eeb60b593cefadf22 (
plain)
1
2
3
4
5
6
7
|
#include <linux/regset.h>
int foobar(int n) {
const struct user_regset_view *rsv = task_user_regset_view(current);
const struct user_regset *rs = & rsv->regsets[0];
return rsv->n + n + (rs->get)(current, rs, 0, 0, NULL, NULL);
}
|