Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/orc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'orc/orccpu-powerpc.c')
-rw-r--r--orc/orccpu-powerpc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/orc/orccpu-powerpc.c b/orc/orccpu-powerpc.c
index 6796f17..340cf05 100644
--- a/orc/orccpu-powerpc.c
+++ b/orc/orccpu-powerpc.c
@@ -161,18 +161,24 @@ orc_check_powerpc_proc_auxv (void)
_orc_cpu_name = (char*)buf[i + 1];
found++;
}
+#ifdef AT_L1D_CACHESIZE
if (buf[i] == AT_L1D_CACHESIZE) {
_orc_data_cache_size_level1 = buf[i + 1];
found++;
}
+#endif
+#ifdef AT_L2_CACHESIZE
if (buf[i] == AT_L2_CACHESIZE) {
_orc_data_cache_size_level2 = buf[i + 1];
found++;
}
+#endif
+#ifdef AT_L3_CACHESIZE
if (buf[i] == AT_L3_CACHESIZE) {
_orc_data_cache_size_level3 = buf[i + 1];
found++;
}
+#endif
if (found == 6)
break;
}