modernize backfire 10.03 so it can be operational again
[openwrt-10.03/.git] / target / linux / generic-2.6 / patches-2.6.30 / 999-timeconst.patch
diff --git a/target/linux/generic-2.6/patches-2.6.30/999-timeconst.patch b/target/linux/generic-2.6/patches-2.6.30/999-timeconst.patch
new file mode 100644 (file)
index 0000000..789dc2b
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/kernel/timeconst.pl      2016-03-12 15:25:48.000000000 +0200
++++ b/kernel/timeconst.pl      2016-07-18 14:15:03.419577459 +0300
+@@ -370,7 +370,7 @@ if ($hz eq '--can') {
+       }
+       @val = @{$canned_values{$hz}};
+-      if (!defined(@val)) {
++      if (!@val) {
+               @val = compute_values($hz);
+       }
+       output($hz, @val);