···601 * gcc should eliminate the ->thread_info dereference if602 * has_secure_computing returns 0 at compile time (SECCOMP=n).603 */604- prev = prev_p->thread_info;605- next = next_p->thread_info;606607 if (has_secure_computing(prev) || has_secure_computing(next)) {608 /* slow path here */
···601 * gcc should eliminate the ->thread_info dereference if602 * has_secure_computing returns 0 at compile time (SECCOMP=n).603 */604+ prev = task_thread_info(prev_p);605+ next = task_thread_info(next_p);606607 if (has_secure_computing(prev) || has_secure_computing(next)) {608 /* slow path here */
+1-1
arch/i386/kernel/vm86.c
···311 "movl %1,%%ebp\n\t"312 "jmp resume_userspace"313 : /* no outputs */314- :"r" (&info->regs), "r" (tsk->thread_info) : "ax");315 /* we never return here */316}317
···311 "movl %1,%%ebp\n\t"312 "jmp resume_userspace"313 : /* no outputs */314+ :"r" (&info->regs), "r" (task_thread_info(tsk)) : "ax");315 /* we never return here */316}317