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
..
2018-09-25 15:50:15 +02:00
2019-10-24 19:26:05 +02:00
2018-10-02 18:47:55 +02:00
2020-01-06 18:41:32 +04:00
2019-08-16 13:31:52 +02:00
2019-12-18 20:18:02 +00:00
2020-01-06 18:41:32 +04:00
2019-09-11 08:46:17 +02: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
2016-02-04 17:01:04 +00:00
2018-12-20 10:29:08 +01:00
2016-02-04 17:01:04 +00:00
2019-12-17 19:33:52 +01:00
2018-08-24 20:26:37 +02:00
2018-06-29 12:32:10 +02:00