--- linux-2.6.18.i686_org/include/linux/sched.h 2011-02-28 18:45:54.000000000 +0800 +++ linux-2.6.18.i686/include/linux/sched.h 2011-03-16 21:47:44.000000000 +0800 @@ -556,6 +556,15 @@ return &container_of(sig, struct signal_with_aux_struct, sig)->aux; } +struct migration_req { + struct list_head list; + + struct task_struct *task; + int dest_cpu; + + struct completion done; +}; + /* Context switch must be unlocked if interrupts are to be enabled */ #ifdef __ARCH_WANT_INTERRUPTS_ON_CTXSW # define __ARCH_WANT_UNLOCKED_CTXSW @@ -888,6 +897,7 @@ #ifdef __ARCH_WANT_UNLOCKED_CTXSW int oncpu; #endif + struct migration_req req; #endif int load_weight; /* for niceness load balancing purposes */ int prio, static_prio, normal_prio;