freebsd-dev/sys/cddl
Justin Hibbits 161c415133 Two fixups for dtrace
* Use the right incantation to get the next stack pointer.  Since powerpc uses
  special frames for traps, dereferencing the stack pointer straight up won't
  get us the next stack pointer in every case.
* Clear EE using the correct instruction sequence.  The PowerISA states that
  'andi.' ANDs the register with 0||<imm>, instead of sign extending or filling
  out the unavailable bits with 1.  Even if it did sign extend, PSL_EE is
  0x8000, so ~PSL_EE is 0x7fff, and the upper bits would be cleared.  Use rlwinm
  in the 32-bit case, and a two-rotate sequence in the 64-bit case, the latter
  chosen to follow the output generated by gcc.

MFC after:	1 week
2016-08-06 15:06:19 +00:00
..
boot/zfs Make boot code and loader check for unsupported ZFS feature flags 2016-08-01 19:37:43 +00:00
compat/opensolaris zfs: honour and make use of vfs vnode locking protocol 2016-08-05 06:23:06 +00:00
contrib/opensolaris fix .zfs-related cases in zfs_lookup that were broken by r303763 2016-08-06 11:02:07 +00:00
dev Two fixups for dtrace 2016-08-06 15:06:19 +00:00