Carlos Santos 00b5032ead util/cacheinfo: fix crash when compiling with uClibc
uClibc defines _SC_LEVEL1_ICACHE_LINESIZE and _SC_LEVEL1_DCACHE_LINESIZE
but the corresponding sysconf calls returns -1, which is a valid result,
meaning that the limit is indeterminate.

Handle this situation using the fallback values instead of crashing due
to an assertion failure.

Signed-off-by: Carlos Santos <casantos@redhat.com>
Message-Id: <20191017123713.30192-1-casantos@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2020-01-21 14:18:12 -10:00
..
2019-10-24 19:26:05 +02:00
2020-01-06 18:41:32 +04:00
2019-12-18 20:18:02 +00:00
2020-01-06 18:41:32 +04:00
2020-01-08 16:01:18 +01:00
2020-01-02 16:29:32 +04:00
2019-12-18 08:36:15 +01:00
2019-12-17 19:33:52 +01:00