x86-64: Move current task from PDA to per-cpu and consolidate with 32-bit.
Signed-off-by: Brian Gerst <brgerst@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
ea9279066d
commit
c6f5e0acd5
9 changed files with 15 additions and 36 deletions
|
|
@ -11,8 +11,8 @@
|
|||
|
||||
/* Per processor datastructure. %gs points to it while the kernel runs */
|
||||
struct x8664_pda {
|
||||
struct task_struct *pcurrent; /* 0 Current process */
|
||||
unsigned long dummy;
|
||||
unsigned long unused1;
|
||||
unsigned long unused2;
|
||||
unsigned long kernelstack; /* 16 top of kernel stack for current */
|
||||
unsigned long oldrsp; /* 24 user rsp for system call */
|
||||
int irqcount; /* 32 Irq nesting counter. Starts -1 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue