1. 27 5月, 2008 1 次提交
  2. 21 5月, 2008 1 次提交
  3. 08 5月, 2008 1 次提交
  4. 06 5月, 2008 1 次提交
  5. 30 4月, 2008 1 次提交
    • A
      tty: The big operations rework · f34d7a5b
      Alan Cox 提交于
      - Operations are now a shared const function block as with most other Linux
        objects
      
      - Introduce wrappers for some optional functions to get consistent behaviour
      
      - Wrap put_char which used to be patched by the tty layer
      
      - Document which functions are needed/optional
      
      - Make put_char report success/fail
      
      - Cache the driver->ops pointer in the tty as tty->ops
      
      - Remove various surplus lock calls we no longer need
      
      - Remove proc_write method as noted by Alexey Dobriyan
      
      - Introduce some missing sanity checks where certain driver/ldisc
        combinations would oops as they didn't check needed methods were present
      
      [akpm@linux-foundation.org: fix fs/compat_ioctl.c build]
      [akpm@linux-foundation.org: fix isicom]
      [akpm@linux-foundation.org: fix arch/ia64/hp/sim/simserial.c build]
      [akpm@linux-foundation.org: fix kgdb]
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Acked-by: NGreg Kroah-Hartman <gregkh@suse.de>
      Cc: Jason Wessel <jason.wessel@windriver.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f34d7a5b
  6. 25 4月, 2008 3 次提交
  7. 19 4月, 2008 1 次提交
  8. 15 4月, 2008 1 次提交
  9. 14 3月, 2008 3 次提交
  10. 11 3月, 2008 1 次提交
  11. 06 2月, 2008 1 次提交
  12. 03 2月, 2008 1 次提交
  13. 31 1月, 2008 3 次提交
  14. 21 1月, 2008 3 次提交
  15. 22 11月, 2007 1 次提交
  16. 23 11月, 2007 1 次提交
  17. 28 10月, 2007 1 次提交
  18. 24 10月, 2007 1 次提交
  19. 22 10月, 2007 1 次提交
  20. 20 10月, 2007 2 次提交
  21. 19 10月, 2007 1 次提交
  22. 13 10月, 2007 1 次提交
    • K
      Driver core: change add_uevent_var to use a struct · 7eff2e7a
      Kay Sievers 提交于
      This changes the uevent buffer functions to use a struct instead of a
      long list of parameters. It does no longer require the caller to do the
      proper buffer termination and size accounting, which is currently wrong
      in some places. It fixes a known bug where parts of the uevent
      environment are overwritten because of wrong index calculations.
      
      Many thanks to Mathieu Desnoyers for finding bugs and improving the
      error handling.
      Signed-off-by: NKay Sievers <kay.sievers@vrfy.org>
      Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
      Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      7eff2e7a
  23. 05 9月, 2007 2 次提交
  24. 30 8月, 2007 2 次提交
  25. 24 7月, 2007 1 次提交
  26. 20 7月, 2007 1 次提交
  27. 18 7月, 2007 3 次提交
    • M
      Input: i8042 - restore control register when enabling port fails · 018db6bb
      Markus Armbruster 提交于
      When enabling interrupts for a port fails, the interrupt enable and
      port enable bits remain set in i8042_ctr. Later writes of i8042_ctr
      to the hardware could accidentally retry enabling interrupts. Clear
      the bits on failure.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      018db6bb
    • D
      Input: i8042 - give more trust to PNP data on i386 · 080c652d
      Dmitry Torokhov 提交于
      On some boxes that don't have PS/2 mice connected at startup BIOS
      completely disables AUX port and attempts to access it result in
      hosed keyboard. Historically we do not trust ACPI/PNP data on
      i386 and try to poke AUX port even if we did not find an active
      PNP node for it. However in cases when BIOS writers got KBD port
      properly described we can assume that they did the right thing
      for AUX port as well.
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      080c652d
    • R
      Freezer: make kernel threads nonfreezable by default · 83144186
      Rafael J. Wysocki 提交于
      Currently, the freezer treats all tasks as freezable, except for the kernel
      threads that explicitly set the PF_NOFREEZE flag for themselves.  This
      approach is problematic, since it requires every kernel thread to either
      set PF_NOFREEZE explicitly, or call try_to_freeze(), even if it doesn't
      care for the freezing of tasks at all.
      
      It seems better to only require the kernel threads that want to or need to
      be frozen to use some freezer-related code and to remove any
      freezer-related code from the other (nonfreezable) kernel threads, which is
      done in this patch.
      
      The patch causes all kernel threads to be nonfreezable by default (ie.  to
      have PF_NOFREEZE set by default) and introduces the set_freezable()
      function that should be called by the freezable kernel threads in order to
      unset PF_NOFREEZE.  It also makes all of the currently freezable kernel
      threads call set_freezable(), so it shouldn't cause any (intentional)
      change of behaviour to appear.  Additionally, it updates documentation to
      describe the freezing of tasks more accurately.
      
      [akpm@linux-foundation.org: build fixes]
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Acked-by: NNigel Cunningham <nigel@nigel.suspend2.net>
      Cc: Pavel Machek <pavel@ucw.cz>
      Cc: Oleg Nesterov <oleg@tv-sign.ru>
      Cc: Gautham R Shenoy <ego@in.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      83144186