Use the name added in r336257.
MFC after: 3 days Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
5612bb23d0
commit
a869c2bf22
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336258
@ -129,7 +129,7 @@ amd10h_update(const char *dev, const char *path)
|
|||||||
}
|
}
|
||||||
signature = idargs.data[0];
|
signature = idargs.data[0];
|
||||||
|
|
||||||
msrargs.msr = 0x0000008b;
|
msrargs.msr = MSR_PATCH_LEVEL;
|
||||||
error = ioctl(devfd, CPUCTL_RDMSR, &msrargs);
|
error = ioctl(devfd, CPUCTL_RDMSR, &msrargs);
|
||||||
if (error < 0) {
|
if (error < 0) {
|
||||||
WARN(0, "ioctl(%s)", dev);
|
WARN(0, "ioctl(%s)", dev);
|
||||||
@ -295,7 +295,7 @@ amd10h_update(const char *dev, const char *path)
|
|||||||
fprintf(stderr, "done.\n");
|
fprintf(stderr, "done.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
msrargs.msr = 0x0000008b;
|
msrargs.msr = MSR_PATCH_LEVEL;
|
||||||
error = ioctl(devfd, CPUCTL_RDMSR, &msrargs);
|
error = ioctl(devfd, CPUCTL_RDMSR, &msrargs);
|
||||||
if (error < 0) {
|
if (error < 0) {
|
||||||
WARN(0, "ioctl(%s)", dev);
|
WARN(0, "ioctl(%s)", dev);
|
||||||
|
Loading…
Reference in New Issue
Block a user