|
@@ -1045,6 +1045,7 @@ DEFINE_PER_CPU(char *, irq_stack_ptr) =
|
|
|
DEFINE_PER_CPU(unsigned int, irq_count) = -1;
|
|
|
|
|
|
DEFINE_PER_CPU(struct task_struct *, fpu_owner_task);
|
|
|
+EXPORT_PER_CPU_SYMBOL(fpu_owner_task);
|
|
|
|
|
|
/*
|
|
|
* Special IST stacks which the CPU switches to when it calls
|
|
@@ -1113,6 +1114,8 @@ void debug_stack_reset(void)
|
|
|
|
|
|
DEFINE_PER_CPU(struct task_struct *, current_task) = &init_task;
|
|
|
EXPORT_PER_CPU_SYMBOL(current_task);
|
|
|
+DEFINE_PER_CPU(struct task_struct *, fpu_owner_task);
|
|
|
+EXPORT_PER_CPU_SYMBOL(fpu_owner_task);
|
|
|
|
|
|
#ifdef CONFIG_CC_STACKPROTECTOR
|
|
|
DEFINE_PER_CPU_ALIGNED(struct stack_canary, stack_canary);
|