Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Oct 2018 02:08:57 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r339516 - head/sys/cddl/dev/dtrace/powerpc
Message-ID:  <201810210208.w9L28vVc080088@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhibbits
Date: Sun Oct 21 02:08:57 2018
New Revision: 339516
URL: https://svnweb.freebsd.org/changeset/base/339516

Log:
  powerpc/dtrace: Use explicit bit numbers to mask out PSL_EE
  
  There seems to be a race in CI, such that dtrace_asm.S might be assembled
  before the genassym is completed.  This causes a build failure when PSL_EE
  doesn't exist, and is read as 0.  Get around this by explicitly specifying
  the bits in the mask instead.

Modified:
  head/sys/cddl/dev/dtrace/powerpc/dtrace_asm.S

Modified: head/sys/cddl/dev/dtrace/powerpc/dtrace_asm.S
==============================================================================
--- head/sys/cddl/dev/dtrace/powerpc/dtrace_asm.S	Sun Oct 21 00:48:38 2018	(r339515)
+++ head/sys/cddl/dev/dtrace/powerpc/dtrace_asm.S	Sun Oct 21 02:08:57 2018	(r339516)
@@ -72,7 +72,7 @@ ASENTRY_NOPROF(dtrace_interrupt_disable)
 	rldicl	%r0,%r3,48,1
 	rotldi	%r0,%r0,16
 #else
-	rlwinm	%r0,%r3,0,~PSL_EE /* Clear EE flag */
+	rlwinm	%r0,%r3,0,17,15 /* Clear EE flag */
 #endif
 	mtmsr	%r0
 	blr



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810210208.w9L28vVc080088>