[sys] sys/cpu: modify x86 port to match what internal/cpu does

2 views
Skip to first unread message

Keith Randall (Gerrit)

unread,
Dec 19, 2025, 11:52:20 AM (2 days ago) Dec 19
to Keith Randall, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Keith Randall, Cherry Mui, Go LUCI, golang-co...@googlegroups.com

Keith Randall submitted the change

Change information

Commit message:
sys/cpu: modify x86 port to match what internal/cpu does

The way we call isSet is different in the two. Normalize x/sys
to match internal/cpu.

This was done using (mostly) gopls' quick fix, to ensure we
don't miss any of the transpositions.
Change-Id: I0b66152e194d46ed9299550e12641cc798f8b11b
Reviewed-by: Cherry Mui <cher...@google.com>
Reviewed-by: Keith Randall <k...@google.com>
Files:
  • M cpu/cpu_x86.go
Change size: M
Delta: 1 file changed, 48 insertions(+), 48 deletions(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +2 by Cherry Mui, +1 by Keith Randall
  • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: sys
Gerrit-Branch: master
Gerrit-Change-Id: I0b66152e194d46ed9299550e12641cc798f8b11b
Gerrit-Change-Number: 731320
Gerrit-PatchSet: 2
Gerrit-Owner: Keith Randall <k...@golang.org>
Gerrit-Reviewer: Cherry Mui <cher...@google.com>
Gerrit-Reviewer: Keith Randall <k...@golang.org>
Gerrit-Reviewer: Keith Randall <k...@google.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages