-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathbackport-iwlwifi.patch
More file actions
26 lines (24 loc) · 879 Bytes
/
backport-iwlwifi.patch
File metadata and controls
26 lines (24 loc) · 879 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff --git a/backport-include/linux/build_bug.h b/backport-include/linux/build_bug.h
index 13ee5d6a2..757bd992e 100644
--- a/backport-include/linux/build_bug.h
+++ b/backport-include/linux/build_bug.h
@@ -1,7 +1,7 @@
#ifndef __BP_BUILD_BUG_H
#define __BP_BUILD_BUG_H
-#if LINUX_VERSION_IS_GEQ(4,13,0)
+#if LINUX_VERSION_IS_GEQ(4,9,0)
#include_next <linux/build_bug.h>
#else /* LINUX_VERSION_IS_GEQ(4,13,0) */
#include <linux/bug.h>
diff --git a/backport-include/linux/random.h b/backport-include/linux/random.h
index 7d817d8b8..0662ad2fd 100644
--- a/backport-include/linux/random.h
+++ b/backport-include/linux/random.h
@@ -42,7 +42,7 @@ static inline u32 prandom_u32_max(u32 ep_ro)
}
#endif /* LINUX_VERSION_IS_LESS(3,14,0) */
-#if LINUX_VERSION_IS_LESS(4,11,0)
+#if LINUX_VERSION_IS_LESS(4,9,0)
static inline u32 get_random_u32(void)
{
return get_random_int();