Use correct mask to derive portid from "reg" property in cpu_match.
authorkettenis <kettenis@openbsd.org>
Mon, 11 Dec 2017 00:15:50 +0000 (00:15 +0000)
committerkettenis <kettenis@openbsd.org>
Mon, 11 Dec 2017 00:15:50 +0000 (00:15 +0000)
commitdb71f12fccea4764e685f2b42196406cefbc7826
treec1e3c6416fab2a3002785f8720464529c3576a7d
parentf5f3b62f67dff8e70d1f80b95e12767453dd8ff9
Use correct mask to derive portid from "reg" property in cpu_match.
Use cpu_myid() since it makes the coe more obvious.
sys/arch/sparc64/sparc64/cpu.c