Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in arch/x86/include/asm/i387.h between commit 1361b83a13d4 ("i387: Split up <asm/i387.h> into exported and internal interfaces") from the tip tree and commit "x86-change-percpu_read_stable-to-this_cpu_read_stable-fix" from the akpm tree. The former commit moved the code to arch/x86/include/asm/fpu-internal.h, so I applied the patch there (see below). -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx diff --git a/arch/x86/include/asm/fpu-internal.h b/arch/x86/include/asm/fpu-internal.h index 4fa8815..5caaf43 100644 --- a/arch/x86/include/asm/fpu-internal.h +++ b/arch/x86/include/asm/fpu-internal.h @@ -344,7 +344,7 @@ typedef struct { int preload; } fpu_switch_t; */ static inline int fpu_lazy_restore(struct task_struct *new, unsigned int cpu) { - return new == percpu_read_stable(fpu_owner_task) && + return new == this_cpu_read_stable(fpu_owner_task) && cpu == new->thread.fpu.last_cpu; }
Attachment:
pgpB5dy9rHA_4.pgp
Description: PGP signature