Use explicit functions with args instead of work_structs for callbacks.

Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
This commit is contained in:
cl349@firebug.cl.cam.ac.uk committed 2005-08-23 08:40:50 +00:00
commit b4d1caa528
3 files changed
+22 -12

No files matched your search

@@ -25,7 +25,8 @@ struct work_struct;
struct gnttab_free_callback {
struct gnttab_free_callback *next;
struct work_struct *work;
void (*fn)(void *);
void *arg;
};
int
@@ -73,7 +74,7 @@ gnttab_release_grant_reference(
void
gnttab_request_free_callback(
struct gnttab_free_callback *callback, struct work_struct *work );
struct gnttab_free_callback *callback, void (*fn)(void *), void *arg);
void
gnttab_grant_foreign_access_ref(
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.