blob: f8825d578a9628573b575e383489b302d04adbd8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- vdo/histogram.c 2021-05-05 06:17:03.000000000 +0200
+++ vdo/histogram-patched.c 2021-05-07 19:21:08.173999801 +0200
@@ -798,7 +798,10 @@
* number of milliseconds, and the unit conversion code needs updating.
*/
STATIC_ASSERT(HZ <= MSEC_PER_SEC);
+ /*
+ * Make it work on stock arch linux kernel which has "CONFIG_HZ=300" set
STATIC_ASSERT((MSEC_PER_SEC % HZ) == 0);
+ */
return make_logarithmic_histogram_with_conversion_factor(
parent,
name,
|