diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-10-24 10:51:45 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-10-24 10:51:45 +0000 |
commit | 354c5431349e0487995bebd0fb031f6e431d873f (patch) | |
tree | f170d4c4debec61002ff6e8ba672d5dbe362fce8 /meta/packages/linux/linux-rp-2.6.23+2.6.24-rc1/vt_ioctl_race.patch | |
parent | 6e23136cc799c75f81840e933707c3411fbcd584 (diff) | |
download | openembedded-core-354c5431349e0487995bebd0fb031f6e431d873f.tar.gz openembedded-core-354c5431349e0487995bebd0fb031f6e431d873f.tar.bz2 openembedded-core-354c5431349e0487995bebd0fb031f6e431d873f.tar.xz openembedded-core-354c5431349e0487995bebd0fb031f6e431d873f.zip |
linux-rp: upgraded from 2.6.23+git to 2.6.24-rc1
Updated patches:
- hx2750_base
- pxa27x_overlay
- squashfs3 (does not build anyway)
Disabled patches:
- input_power (does not like LONG() function)
- tsc2101 (breaks Kconfig - something with MACH_HX2750)
- squashfs3
Builds for c7x0 but is too big.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2951 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/linux/linux-rp-2.6.23+2.6.24-rc1/vt_ioctl_race.patch')
-rw-r--r-- | meta/packages/linux/linux-rp-2.6.23+2.6.24-rc1/vt_ioctl_race.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/meta/packages/linux/linux-rp-2.6.23+2.6.24-rc1/vt_ioctl_race.patch b/meta/packages/linux/linux-rp-2.6.23+2.6.24-rc1/vt_ioctl_race.patch new file mode 100644 index 000000000..5a51d1c3f --- /dev/null +++ b/meta/packages/linux/linux-rp-2.6.23+2.6.24-rc1/vt_ioctl_race.patch @@ -0,0 +1,46 @@ +--- + drivers/char/vt_ioctl.c | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +Index: linux-2.6.22/drivers/char/vt_ioctl.c +=================================================================== +--- linux-2.6.22.orig/drivers/char/vt_ioctl.c 2007-07-09 01:32:17.000000000 +0200 ++++ linux-2.6.22/drivers/char/vt_ioctl.c 2007-09-27 11:58:42.000000000 +0200 +@@ -770,6 +770,7 @@ + /* + * Switching-from response + */ ++ acquire_console_sem(); + if (vc->vt_newvt >= 0) { + if (arg == 0) + /* +@@ -784,7 +785,6 @@ + * complete the switch. + */ + int newvt; +- acquire_console_sem(); + newvt = vc->vt_newvt; + vc->vt_newvt = -1; + i = vc_allocate(newvt); +@@ -798,7 +798,6 @@ + * other console switches.. + */ + complete_change_console(vc_cons[newvt].d); +- release_console_sem(); + } + } + +@@ -810,9 +809,12 @@ + /* + * If it's just an ACK, ignore it + */ +- if (arg != VT_ACKACQ) ++ if (arg != VT_ACKACQ) { ++ release_console_sem(); + return -EINVAL; ++ } + } ++ release_console_sem(); + + return 0; + |