Justin Hibbits
5ca156cfde
Fix cacheline detection on FreeBSD/powerpc.
...
machdep.cacheline_size is an integer, not a long. Since PowerPC is
big-endian this causes sysctlbyname() to fill in the upper bits of the
argument, rather than the correct 'lower bits' of the word. Specify the
correct type to fix this.
Fixes: b255b2c8a548 ("util: add cacheinfo")
Signed-off-by: Justin Hibbits <chmeeedalf@gmail.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Tested-by: Justin Hibbits <chmeeedalf@gmail.com>
Message-Id: <20190821082546.5252-2-laurent@vivier.eu>
2019-09-19 14:42:13 +02:00
..
2019-06-12 13:20:20 +02:00
2018-09-25 15:50:15 +02:00
2019-01-14 14:09:41 +00:00
2019-08-22 15:49:19 +01:00
2018-10-02 18:47:55 +02:00
2019-07-15 15:39:02 +02:00
2019-01-11 15:46:56 +01:00
2019-06-12 13:20:20 +02:00
2019-09-19 14:42:13 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:20:20 +02:00
2019-07-15 15:39:02 +02:00
2018-08-27 10:51:44 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:20:20 +02:00
2018-01-24 19:20:19 +02:00
2018-01-24 19:20:19 +02:00
2019-08-16 13:31:52 +02:00
2019-04-02 13:52:02 +01:00
2019-04-02 13:52:02 +01:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:20:20 +02:00
2019-08-16 16:28:02 -04:00
2019-06-11 20:22:09 +02:00
2019-08-27 14:58:42 +01:00
2018-06-29 12:22:28 +01:00
2018-05-04 08:27:53 +02:00
2019-06-12 13:20:20 +02:00
2019-07-15 11:20:43 +02:00
2019-07-15 11:20:43 +02:00
2019-09-11 08:46:17 +02:00
2019-04-25 14:17:36 -03:00
2019-08-21 16:29:57 +02:00
2019-06-12 13:20:20 +02:00
2019-02-07 15:49:08 +02:00
2019-09-16 12:32:21 +02:00
2019-09-16 12:32:21 +02:00
2017-10-10 09:45:00 -07:00
2019-06-24 22:19:30 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:20:20 +02:00
2019-01-24 10:05:16 +00:00
2019-06-12 13:20:20 +02:00
2019-04-18 22:18:59 +02:00
2019-06-12 13:20:20 +02:00
2019-04-18 22:18:59 +02:00
2017-04-28 18:48:11 +02:00
2019-09-03 23:24:42 +02:00
2018-12-20 10:29:08 +01:00
2019-09-16 17:13:06 +02:00
2019-09-16 17:13:06 +02:00
2019-08-20 17:26:21 +02:00
2018-09-26 08:55:54 -07:00
2019-09-16 17:13:06 +02:00
2019-01-30 10:51:20 +01:00
2019-06-12 13:20:20 +02:00
2019-06-11 20:22:09 +02:00
2017-11-15 09:34:51 +01:00
2018-04-05 14:37:38 +02:00
2017-03-19 11:12:12 +01:00
2019-06-12 13:20:20 +02:00
2017-09-26 14:46:23 +02:00
2019-09-03 23:24:42 +02:00
2018-08-24 20:26:37 +02:00
2018-06-29 12:32:10 +02:00
2019-06-12 13:20:20 +02:00
2019-08-16 13:31:52 +02:00