1 /* ckrm_tsk.h - No. of tasks resource controller for CKRM
3 * Copyright (C) Chandra Seetharaman, IBM Corp. 2003
5 * Provides No. of tasks resource controller for CKRM
7 * Latest version, more details at http://ckrm.sf.net
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
22 #ifndef _LINUX_CKRM_TSK_H
23 #define _LINUX_CKRM_TSK_H
25 #include <linux/ckrm_rc.h>
27 #ifdef CONFIG_CKRM_RES_NUMTASKS
29 extern int numtasks_get_ref(void *, int);
30 extern int numtasks_get_ref_resid(void *, int, int);
31 extern void numtasks_put_ref(void *);
35 #define numtasks_get_ref(a, b) 1
36 #define numtasks_get_ref_resid(a, b, c) 1
37 #define numtasks_put_ref(a)
41 #endif // _LINUX_CKRM_RES_H