aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2011-01-28 11:54:38 -0500
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2011-02-01 16:30:37 -0500
commitfd8ae31c74975c8499983c9831bff2b136b98434 (patch)
tree63440821ae1e15e5e097eb79006addfab0200ace /include/litmus
parenta0f243fd1d66c3499f88a690e485e94160ac1a8c (diff)
fdso: supply object type to constructor and destructor methods
Passing the object type explicitly will enable generic lock constructors.
Diffstat (limited to 'include/litmus')
-rw-r--r--include/litmus/fdso.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/litmus/fdso.h b/include/litmus/fdso.h
index 61f1b5baf42c..bfab9fdc756c 100644
--- a/include/litmus/fdso.h
+++ b/include/litmus/fdso.h
@@ -42,8 +42,8 @@ struct od_table_entry {
42}; 42};
43 43
44struct fdso_ops { 44struct fdso_ops {
45 void* (*create) (void); 45 void* (*create)(obj_type_t type);
46 void (*destroy)(void*); 46 void (*destroy)(obj_type_t type, void*);
47 int (*open) (struct od_table_entry*, void* __user); 47 int (*open) (struct od_table_entry*, void* __user);
48 int (*close) (struct od_table_entry*); 48 int (*close) (struct od_table_entry*);
49}; 49};