| Server IP : 82.208.35.60 / Your IP : 216.73.217.39 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/sysutils/mcelog/files/ |
Upload File : |
--- cache.c.orig 2016-02-10 18:38:43 UTC
+++ cache.c
@@ -27,6 +27,7 @@
#include "sysfs.h"
#include "cache.h"
+#ifdef __Linux__
struct cache {
unsigned level;
/* Numerical values must match MCACOD */
@@ -173,6 +174,15 @@ int cache_to_cpus(int cpu, unsigned leve
Wprintf("Cannot find sysfs cache for CPU %d", cpu);
return -1;
}
+#endif
+
+#ifdef __FreeBSD__
+int cache_to_cpus(int cpu, unsigned level, unsigned type,
+ int *cpulen, unsigned **cpumap)
+{
+ return -1;
+}
+#endif
#ifdef TEST
main()