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
1 --- a/kernel/timeconst.pl       2016-03-12 15:25:48.000000000 +0200
2 +++ b/kernel/timeconst.pl       2016-07-18 14:15:03.419577459 +0300
3 @@ -370,7 +370,7 @@ if ($hz eq '--can') {
4         }
5  
6         @val = @{$canned_values{$hz}};
7 -       if (!defined(@val)) {
8 +       if (!@val) {
9                 @val = compute_values($hz);
10         }
11         output($hz, @val);