This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / include / linux / ckrm_tc.h
1 /* include/linux/ckrm_tc.h - general definitions for the CKRM TaskClass
2  *
3  * Copyright (C) Hubertus Franke,  IBM Corp. 2004
4  * 
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  */
11
12 #ifndef _CKRM_TC_H
13 #define _CKRM_TC_H
14
15 #include <linux/ckrm_rc.h>
16
17 #define TASK_CLASS_TYPE_NAME "taskclass"
18
19 typedef struct ckrm_task_class {
20         struct ckrm_core_class core;
21 } ckrm_task_class_t;
22
23 // Index into genmfdesc array, defined in rcfs/dir_modules.c,
24 // which has the mfdesc entry that taskclass wants to use
25 #define TC_MF_IDX  0
26
27 extern int ckrm_forced_reclassify_pid(int pid, struct ckrm_task_class *cls);
28
29 #endif // _CKRM_TC_H