summaryrefslogtreecommitdiff
path: root/kernel.patch
blob: 7c6f1d8fc5cf73ca10cee3ad99569e735c7935b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/include/linux/compiler-gcc5.h b/include/linux/compiler-gcc5.h
new file mode 100644
index 0000000..4de95e7
--- /dev/null
+++ b/include/linux/compiler-gcc5.h
@@ -0,0 +1 @@
+#include <linux/compiler-gcc4.h>
diff --git a/kernel/timeconst.pl b/kernel/timeconst.pl
index eb51d76..0461239 100644
--- a/kernel/timeconst.pl
+++ b/kernel/timeconst.pl
@@ -370,7 +370,7 @@ if ($hz eq '--can') {
 	}
 
 	@val = @{$canned_values{$hz}};
-	if (!defined(@val)) {
+	if (!@val) {
 		@val = compute_values($hz);
 	}
 	output($hz, @val);