Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Conversation

@sn99
Copy link

@sn99 sn99 commented Jan 6, 2021

@mns6070
Copy link

mns6070 commented Jan 12, 2021

Can someone merge this request? I am also on an amd processor and would like to use this feature.

Copy link

@phmccarty phmccarty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, there is a syntax issue with this change. See my comment inline.

if (strstr(buffer, "model name")) {
if (strstr(buffer, "Xeon"))
if (strstr(buffer, "Xeon")) ||
(strstr(buffer, "EPYC")))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I presume the intended change is:

-			if (strstr(buffer, "Xeon"))
+			if (strstr(buffer, "Xeon") ||
+			    strstr(buffer, "EPYC"))

Is that correct?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants