mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
linux: add upstream patches for 2.6.37-rc1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
6f67c430b9
commit
931fdbd922
@ -0,0 +1,19 @@
|
||||
diff -Naur linux-2.6.37-rc1/include/linux/rtnetlink.h linux-2.6.37-rc1.patch/include/linux/rtnetlink.h
|
||||
--- linux-2.6.37-rc1/include/linux/rtnetlink.h 2010-11-01 12:54:12.000000000 +0100
|
||||
+++ linux-2.6.37-rc1.patch/include/linux/rtnetlink.h 2010-11-15 18:03:38.434438769 +0100
|
||||
@@ -6,7 +6,6 @@
|
||||
#include <linux/if_link.h>
|
||||
#include <linux/if_addr.h>
|
||||
#include <linux/neighbour.h>
|
||||
-#include <linux/netdevice.h>
|
||||
|
||||
/* rtnetlink families. Values up to 127 are reserved for real address
|
||||
* families, values above 128 may be used arbitrarily.
|
||||
@@ -606,6 +605,7 @@
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#include <linux/mutex.h>
|
||||
+#include <linux/netdevice.h>
|
||||
|
||||
static __inline__ int rtattr_strcmp(const struct rtattr *rta, const char *str)
|
||||
{
|
@ -0,0 +1,16 @@
|
||||
diff -Naur linux-2.6.37-rc1/include/linux/fs.h linux-2.6.37-rc1.patch/include/linux/fs.h
|
||||
--- linux-2.6.37-rc1/include/linux/fs.h 2010-11-01 12:54:12.000000000 +0100
|
||||
+++ linux-2.6.37-rc1.patch/include/linux/fs.h 2010-11-15 19:06:11.732172159 +0100
|
||||
@@ -34,9 +34,9 @@
|
||||
#define SEEK_MAX SEEK_END
|
||||
|
||||
struct fstrim_range {
|
||||
- uint64_t start;
|
||||
- uint64_t len;
|
||||
- uint64_t minlen;
|
||||
+ __u64 start;
|
||||
+ __u64 len;
|
||||
+ __u64 minlen;
|
||||
};
|
||||
|
||||
/* And dynamically-tunable limits and defaults: */
|
Loading…
x
Reference in New Issue
Block a user