linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / include / asm-mips / processor.h
index 0fb75f0..39d2bd5 100644 (file)
@@ -12,7 +12,6 @@
 #define _ASM_PROCESSOR_H
 
 #include <linux/config.h>
-#include <linux/cpumask.h>
 #include <linux/threads.h>
 
 #include <asm/cachectl.h>
@@ -108,10 +107,6 @@ struct mips_dsp_state {
 
 #define INIT_DSP {{0,},}
 
-#define INIT_CPUMASK { \
-       {0,} \
-}
-
 typedef struct {
        unsigned long seg;
 } mm_segment_t;
@@ -134,12 +129,6 @@ struct thread_struct {
 
        /* Saved fpu/fpu emulator stuff. */
        union mips_fpu_union fpu;
-#ifdef CONFIG_MIPS_MT_FPAFF
-       /* Emulated instruction count */
-       unsigned long emulated_fp;
-       /* Saved per-thread scheduler affinity mask */
-       cpumask_t user_cpus_allowed;
-#endif /* CONFIG_MIPS_MT_FPAFF */
 
        /* Saved state of the DSP ASE, if available. */
        struct mips_dsp_state dsp;
@@ -153,7 +142,6 @@ struct thread_struct {
 #define MF_LOGADE      2               /* Log address errors to syslog */
 #define MF_32BIT_REGS  4               /* also implies 16/32 fprs */
 #define MF_32BIT_ADDR  8               /* 32-bit address space (o32/n32) */
-#define MF_FPUBOUND    0x10            /* thread bound to FPU-full CPU set */
        unsigned long mflags;
        unsigned long irix_trampoline;  /* Wheee... */
        unsigned long irix_oldctx;
@@ -165,12 +153,6 @@ struct thread_struct {
 #define MF_N32         MF_32BIT_ADDR
 #define MF_N64         0
 
-#ifdef CONFIG_MIPS_MT_FPAFF
-#define FPAFF_INIT 0, INIT_CPUMASK,
-#else
-#define FPAFF_INIT
-#endif /* CONFIG_MIPS_MT_FPAFF */
-
 #define INIT_THREAD  { \
         /* \
          * saved main processor registers \
@@ -185,10 +167,6 @@ struct thread_struct {
         * saved fpu/fpu emulator stuff \
         */ \
        INIT_FPU, \
-       /* \
-        * fpu affinity state (null if not FPAFF) \
-        */ \
-       FPAFF_INIT \
        /* \
         * saved dsp/dsp emulator stuff \
         */ \