Date: Fri, 23 Dec 2016 03:31:54 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r310447 - stable/11/sys/powerpc/fpu Message-ID: <201612230331.uBN3VseB003389@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhibbits Date: Fri Dec 23 03:31:53 2016 New Revision: 310447 URL: https://svnweb.freebsd.org/changeset/base/310447 Log: MFC r307598: Un-static two local variables in the FPU emulator Static variables aren't MP-safe, and this was causing bizarre segfaults on a dual-core e500v2 system (P1022). Modified: stable/11/sys/powerpc/fpu/fpu_emu.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/powerpc/fpu/fpu_emu.c ============================================================================== --- stable/11/sys/powerpc/fpu/fpu_emu.c Fri Dec 23 03:28:43 2016 (r310446) +++ stable/11/sys/powerpc/fpu/fpu_emu.c Fri Dec 23 03:31:53 2016 (r310447) @@ -185,8 +185,8 @@ fpu_dumpfpn(struct fpn *fp) int fpu_emulate(struct trapframe *frame, struct fpu *fpf) { - static union instr insn; - static struct fpemu fe; + union instr insn; + struct fpemu fe; static int lastill = 0; int sig;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612230331.uBN3VseB003389>