@@ -82,27 +82,6 @@ static inline int membuf_write(struct membuf *s, const void *v, size_t size)
82
82
typedef int user_regset_active_fn (struct task_struct * target ,
83
83
const struct user_regset * regset );
84
84
85
- /**
86
- * user_regset_get_fn - type of @get function in &struct user_regset
87
- * @target: thread being examined
88
- * @regset: regset being examined
89
- * @pos: offset into the regset data to access, in bytes
90
- * @count: amount of data to copy, in bytes
91
- * @kbuf: if not %NULL, a kernel-space pointer to copy into
92
- * @ubuf: if @kbuf is %NULL, a user-space pointer to copy into
93
- *
94
- * Fetch register values. Return %0 on success; -%EIO or -%ENODEV
95
- * are usual failure returns. The @pos and @count values are in
96
- * bytes, but must be properly aligned. If @kbuf is non-null, that
97
- * buffer is used and @ubuf is ignored. If @kbuf is %NULL, then
98
- * ubuf gives a userland pointer to access directly, and an -%EFAULT
99
- * return value is possible.
100
- */
101
- typedef int user_regset_get_fn (struct task_struct * target ,
102
- const struct user_regset * regset ,
103
- unsigned int pos , unsigned int count ,
104
- void * kbuf , void __user * ubuf );
105
-
106
85
typedef int user_regset_get2_fn (struct task_struct * target ,
107
86
const struct user_regset * regset ,
108
87
struct membuf to );
@@ -235,7 +214,6 @@ typedef unsigned int user_regset_get_size_fn(struct task_struct *target,
235
214
* omitted when there is an @active function and it returns zero.
236
215
*/
237
216
struct user_regset {
238
- user_regset_get_fn * get ;
239
217
user_regset_get2_fn * regset_get ;
240
218
user_regset_set_fn * set ;
241
219
user_regset_active_fn * active ;
0 commit comments