5d531d65e433a3e134ca514132f9c66dfcefd874
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-kernel / linux-libc-headers / linux-libc-headers / connector-msg-size-fix.patch
1 Upstream-Status: Inappropriate [embedded specific]
2
3 Currently default header is linux-libc-header, which leads the dismatch
4 with wrs kernel.
5
6 The different headers for same file cause trouble between kerenl module and
7 user level binary. E.g. segfault in v86d due to different
8 CONNECTOR_MAX_MSG_SIZE in connector.h from the one used by uvesafb.
9
10 This fix is work around to sync with wrs kernel headers, and should be removed
11 after switching to linux-libc-headers-wrs.
12
13 [BUGID #279] fixed by this.
14
15 Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
16
17 Index: linux-2.6.34/include/linux/connector.h
18 ===================================================================
19 --- linux-2.6.34.orig/include/linux/connector.h 2010-09-30 14:15:25.000000000 +0800
20 +++ linux-2.6.34/include/linux/connector.h      2010-09-30 14:15:43.000000000 +0800
21 @@ -48,7 +48,7 @@
22  /*
23   * Maximum connector's message size.
24   */
25 -#define CONNECTOR_MAX_MSG_SIZE         16384
26 +#define CONNECTOR_MAX_MSG_SIZE         65536
27  
28  /*
29   * idx and val are unique identifiers which