format_proc_cpuinfo: fix microcode revision shift direction
This commit is contained in:
parent
54bb6589c3
commit
7b2c7fca04
@ -735,7 +735,7 @@ format_proc_cpuinfo (void *, char *&destbuf)
|
|||||||
memcpy (µcode, uc[uci].uc_microcode, sizeof (microcode));
|
memcpy (µcode, uc[uci].uc_microcode, sizeof (microcode));
|
||||||
|
|
||||||
if (!(microcode & 0xFFFFFFFFLL)) /* some values in high bits */
|
if (!(microcode & 0xFFFFFFFFLL)) /* some values in high bits */
|
||||||
microcode <<= 32; /* shift them down */
|
microcode >>= 32; /* shift them down */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user