#include <linux/sched.h>
#include <linux/cpumask.h>
#include <linux/interrupt.h>
-#include <linux/security.h>
+#include <linux/vs_cvirt.h>
#include <asm/cpu.h>
#include <asm/processor.h>
* used in sys_sched_set/getaffinity() in kernel/sched.c, so
* cloned here.
*/
-static inline struct task_struct *find_process_by_pid(pid_t pid)
+static inline task_t *find_process_by_pid(pid_t pid)
{
return pid ? find_task_by_pid(pid) : current;
}
cpumask_t new_mask;
cpumask_t effective_mask;
int retval;
- struct task_struct *p;
+ task_t *p;
if (len < sizeof(new_mask))
return -EINVAL;
unsigned int real_len;
cpumask_t mask;
int retval;
- struct task_struct *p;
+ task_t *p;
real_len = sizeof(mask);
if (len < real_len)