diff options
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r-- | meta/recipes-kernel/linux-libc-headers/linux-libc-headers/connector-msg-size-fix.patch | 27 | ||||
-rw-r--r-- | meta/recipes-kernel/linux-libc-headers/linux-libc-headers_2.6.34.bb | 3 |
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 @@ | |||
1 | Currently default header is linux-libc-header, which leads the dismatch | ||
2 | with wrs kernel. | ||
3 | |||
4 | The different headers for same file cause trouble between kerenl module and | ||
5 | user level binary. E.g. segfault in v86d due to different | ||
6 | CONNECTOR_MAX_MSG_SIZE in connector.h from the one used by uvesafb. | ||
7 | |||
8 | This fix is work around to sync with wrs kernel headers, and should be removed | ||
9 | after switching to linux-libc-headers-wrs. | ||
10 | |||
11 | [BUGID #279] fixed by this. | ||
12 | |||
13 | Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> | ||
14 | |||
15 | Index: linux-2.6.34/include/linux/connector.h | ||
16 | =================================================================== | ||
17 | --- linux-2.6.34.orig/include/linux/connector.h 2010-09-30 14:15:25.000000000 +0800 | ||
18 | +++ linux-2.6.34/include/linux/connector.h 2010-09-30 14:15:43.000000000 +0800 | ||
19 | @@ -48,7 +48,7 @@ | ||
20 | /* | ||
21 | * Maximum connector's message size. | ||
22 | */ | ||
23 | -#define CONNECTOR_MAX_MSG_SIZE 16384 | ||
24 | +#define CONNECTOR_MAX_MSG_SIZE 65536 | ||
25 | |||
26 | /* | ||
27 | * 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" | |||
5 | PR = "r1" | 5 | PR = "r1" |
6 | 6 | ||
7 | SRC_URI += "file://hayes-gone.patch \ | 7 | SRC_URI += "file://hayes-gone.patch \ |
8 | file://ppc_glibc_build_fix.patch" | 8 | file://ppc_glibc_build_fix.patch \ |
9 | file://connector-msg-size-fix.patch" | ||
9 | 10 | ||
10 | S = "${WORKDIR}/linux-${PV}" | 11 | S = "${WORKDIR}/linux-${PV}" |
11 | 12 | ||