parent
7abb2f9ea6
commit
b75ea019ea
|
@ -478,7 +478,7 @@ StringRef sys::getHostCPUName() {
|
||||||
return "generic";
|
return "generic";
|
||||||
}
|
}
|
||||||
#elif defined(__linux__) && (defined(__ppc__) || defined(__powerpc__))
|
#elif defined(__linux__) && (defined(__ppc__) || defined(__powerpc__))
|
||||||
SringRef sys::getHostCPUName() {
|
StringRef sys::getHostCPUName() {
|
||||||
// Access to the Processor Version Register (PVR) on PowerPC is privileged,
|
// Access to the Processor Version Register (PVR) on PowerPC is privileged,
|
||||||
// and so we must use an operating-system interface to determine the current
|
// and so we must use an operating-system interface to determine the current
|
||||||
// processor type. On Linux, this is exposed through the /proc/cpuinfo file.
|
// processor type. On Linux, this is exposed through the /proc/cpuinfo file.
|
||||||
|
|
Loading…
Reference in New Issue