mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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:
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(
|
||||
|
||||