summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorZhai Edwin <edwin.zhai@intel.com>2010-09-30 21:54:38 +0800
committerSaul Wold <Saul.Wold@intel.com>2010-09-30 12:32:10 -0700
commit7f17d12cfdcd975a777acf9fdf2b8e0ce701de05 (patch)
tree979a30329a665f112e960589615a96325254a4a9 /meta
parent9c9c8eb8358d2471c74e81f6a8f4d9a95c613429 (diff)
downloadopenembedded-core-7f17d12cfdcd975a777acf9fdf2b8e0ce701de05.tar.gz
openembedded-core-7f17d12cfdcd975a777acf9fdf2b8e0ce701de05.tar.bz2
openembedded-core-7f17d12cfdcd975a777acf9fdf2b8e0ce701de05.zip
linux-libc-header: Sync CONNECTOR_MAX_MSG_SIZE with wrs kernel
Currently default header is linux-libc-header, which leads the dismatch with wrs kernel. The different headers for same file cause trouble between kerenl module and user level binary. E.g. segfault in v86d due to different CONNECTOR_MAX_MSG_SIZE in connector.h from the one used by uvesafb. This fix is work around to sync with wrs kernel headers, and should be removed after switching to linux-libc-headers-wrs. [BUGID #279] fixed by this. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-kernel/linux-libc-headers/linux-libc-headers/connector-msg-size-fix.patch27
-rw-r--r--meta/recipes-kernel/linux-libc-headers/linux-libc-headers_2.6.34.bb3
2 files changed, 29 insertions, 1 deletions
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/connector-msg-size-fix.patch b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/connector-msg-size-fix.patch
new file mode 100644
index 0000000000..60072c7930
--- /dev/null
+++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/connector-msg-size-fix.patch
@@ -0,0 +1,27 @@
+Currently default header is linux-libc-header, which leads the dismatch
+with wrs kernel.
+
+The different headers for same file cause trouble between kerenl module and
+user level binary. E.g. segfault in v86d due to different
+CONNECTOR_MAX_MSG_SIZE in connector.h from the one used by uvesafb.
+
+This fix is work around to sync with wrs kernel headers, and should be removed
+after switching to linux-libc-headers-wrs.
+
+[BUGID #279] fixed by this.
+
+Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
+
+Index: linux-2.6.34/include/linux/connector.h
+===================================================================
+--- linux-2.6.34.orig/include/linux/connector.h 2010-09-30 14:15:25.000000000 +0800
++++ linux-2.6.34/include/linux/connector.h 2010-09-30 14:15:43.000000000 +0800
+@@ -48,7 +48,7 @@
+ /*
+ * Maximum connector's message size.
+ */
+-#define CONNECTOR_MAX_MSG_SIZE 16384
++#define CONNECTOR_MAX_MSG_SIZE 65536
+
+ /*
+ * idx and val are unique identifiers which
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_2.6.34.bb b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_2.6.34.bb
index 6427450c92..685b70a4a8 100644
--- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_2.6.34.bb
+++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_2.6.34.bb
@@ -5,7 +5,8 @@ DEPENDS += "unifdef-native"
PR = "r1"
SRC_URI += "file://hayes-gone.patch \
- file://ppc_glibc_build_fix.patch"
+ file://ppc_glibc_build_fix.patch \
+ file://connector-msg-size-fix.patch"
S = "${WORKDIR}/linux-${PV}"