The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / dhrystone / 0002-HZ.patch
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/dhrystone/0002-HZ.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/dhrystone/0002-HZ.patch
new file mode 100644 (file)
index 0000000..e3b8a0e
--- /dev/null
@@ -0,0 +1,17 @@
+Get HZ value from system rather than requiring via CPPFLAGS
+
+Patch by Robin Getz <rgetz@blackfin.uclinux.org>
+
+--- a/dhry.h
++++ b/dhry.h
+@@ -359,6 +359,10 @@
+                 /* for "times" */
+ #endif
++#ifndef HZ
++#include <sys/param.h>
++#endif
++
+ #define Mic_secs_Per_Second     1000000.0
+                 /* Berkeley UNIX C returns process times in seconds/HZ */