Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
mips-mt-fpaff.c File Reference
#include <linux/cpu.h>
#include <linux/cpuset.h>
#include <linux/cpumask.h>
#include <linux/delay.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/security.h>
#include <linux/types.h>
#include <asm/uaccess.h>

Go to the source code of this file.

Macros

#define FPUSEFACTOR   2000
 

Functions

asmlinkage long mipsmt_sys_sched_setaffinity (pid_t pid, unsigned int len, unsigned long __user *user_mask_ptr)
 
asmlinkage long mipsmt_sys_sched_getaffinity (pid_t pid, unsigned int len, unsigned long __user *user_mask_ptr)
 
 __setup ("fpaff=", fpaff_thresh)
 
 arch_initcall (mt_fp_affinity_init)
 

Variables

cpumask_t mt_fpu_cpumask
 
unsigned long mt_fpemul_threshold
 

Macro Definition Documentation

#define FPUSEFACTOR   2000

Definition at line 199 of file mips-mt-fpaff.c.

Function Documentation

__setup ( )
arch_initcall ( mt_fp_affinity_init  )
asmlinkage long mipsmt_sys_sched_getaffinity ( pid_t  pid,
unsigned int  len,
unsigned long __user user_mask_ptr 
)

Definition at line 153 of file mips-mt-fpaff.c.

asmlinkage long mipsmt_sys_sched_setaffinity ( pid_t  pid,
unsigned int  len,
unsigned long __user user_mask_ptr 
)

Definition at line 62 of file mips-mt-fpaff.c.

Variable Documentation

unsigned long mt_fpemul_threshold

Definition at line 22 of file mips-mt-fpaff.c.

cpumask_t mt_fpu_cpumask

Definition at line 19 of file mips-mt-fpaff.c.