git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
kernel
/
ckrm
/
ckrm_numtasks_stub.c
diff --git
a/kernel/ckrm/ckrm_numtasks_stub.c
b/kernel/ckrm/ckrm_numtasks_stub.c
index
d9f15c9
..
179e6b5
100644
(file)
--- a/
kernel/ckrm/ckrm_numtasks_stub.c
+++ b/
kernel/ckrm/ckrm_numtasks_stub.c
@@
-11,6
+11,12
@@
*
*/
*
*/
+/* Changes
+ *
+ * 16 May 2004: Created
+ *
+ */
+
#include <linux/spinlock.h>
#include <linux/module.h>
#include <linux/ckrm_tsk.h>
#include <linux/spinlock.h>
#include <linux/module.h>
#include <linux/ckrm_tsk.h>
@@
-28,7
+34,7
@@
void ckrm_numtasks_register(get_ref_t gr, put_ref_t pr)
spin_unlock(&stub_lock);
}
spin_unlock(&stub_lock);
}
-int numtasks_get_ref(
struct ckrm_core_class
*arg, int force)
+int numtasks_get_ref(
void
*arg, int force)
{
int ret = 1;
spin_lock(&stub_lock);
{
int ret = 1;
spin_lock(&stub_lock);
@@
-39,7
+45,7
@@
int numtasks_get_ref(struct ckrm_core_class *arg, int force)
return ret;
}
return ret;
}
-void numtasks_put_ref(
struct ckrm_core_class
*arg)
+void numtasks_put_ref(
void
*arg)
{
spin_lock(&stub_lock);
if (real_put_ref) {
{
spin_lock(&stub_lock);
if (real_put_ref) {