1. 11 2月, 2007 1 次提交
  2. 09 2月, 2007 2 次提交
  3. 09 12月, 2006 1 次提交
    • A
      [PATCH] tty: switch to ktermios and new framework · edc6afc5
      Alan Cox 提交于
      This is the core of the switch to the new framework.  I've split it from the
      driver patches which are mostly search/replace and would encourage people to
      give this one a good hard stare.
      
      The references to BOTHER and ISHIFT are the termios values that must be
      defined by a platform once it wants to turn on "new style" ioctl support.  The
      code patches here ensure that providing
      
      1. The termios overlays the ktermios in memory
      2. The only new kernel only fields are c_ispeed/c_ospeed (or none)
      
      the existing behaviour is retained.  This is true for the patches at this
      point in time.
      
      Future patches will define BOTHER, ISHIFT and enable newer termios structures
      for each architecture, and once they are all done some of the ifdefs also
      vanish.
      
      [akpm@osdl.org: warning fix]
      [akpm@osdl.org: IRDA fix]
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      edc6afc5
  4. 07 12月, 2006 1 次提交
  5. 04 12月, 2006 1 次提交
  6. 03 12月, 2006 2 次提交
  7. 22 11月, 2006 2 次提交
    • D
      WorkStruct: make allyesconfig · c4028958
      David Howells 提交于
      Fix up for make allyesconfig.
      Signed-Off-By: NDavid Howells <dhowells@redhat.com>
      c4028958
    • P
      [IRDA]: Lockdep fix. · 700f9672
      Peter Zijlstra 提交于
      On Sat, 2006-11-18 at 16:12 +0300, Andrey Borzenkov wrote:
      
      > =============================================
      > [ INFO: possible recursive locking detected ]
      > 2.6.19-rc5-2avb #2
      > - ---------------------------------------------
      > pppd/26425 is trying to acquire lock:
      >  (&hashbin->hb_spinlock){....}, at: [<dfdea87a>] irlmp_slsap_inuse+0x5a/0x170
      > [irda]
      >
      > but task is already holding lock:
      >  (&hashbin->hb_spinlock){....}, at: [<dfdea857>] irlmp_slsap_inuse+0x37/0x170
      > [irda]
      >
      > other info that might help us debug this:
      > 1 lock held by pppd/26425:
      >  #0:  (&hashbin->hb_spinlock){....}, at: [<dfdea857>]
      > irlmp_slsap_inuse+0x37/0x170 [irda]
      >
      > stack backtrace:
      >  [<c010413c>] dump_trace+0x1cc/0x200
      >  [<c010418a>] show_trace_log_lvl+0x1a/0x30
      >  [<c01047f2>] show_trace+0x12/0x20
      >  [<c01048c9>] dump_stack+0x19/0x20
      >  [<c01346ca>] __lock_acquire+0x8fa/0xc20
      >  [<c0134d2d>] lock_acquire+0x5d/0x80
      >  [<c02a851c>] _spin_lock+0x2c/0x40
      >  [<dfdea87a>] irlmp_slsap_inuse+0x5a/0x170 [irda]
      >  [<dfdebab2>] irlmp_open_lsap+0x62/0x180 [irda]
      >  [<dfdf35d1>] irttp_open_tsap+0x181/0x230 [irda]
      >  [<dfdc0c3d>] ircomm_open_tsap+0x5d/0xa0 [ircomm]
      >  [<dfdc05d8>] ircomm_open+0xb8/0xd0 [ircomm]
      >  [<dfdd0477>] ircomm_tty_open+0x4f7/0x570 [ircomm_tty]
      >  [<c020bbe4>] tty_open+0x174/0x340
      >  [<c016bd69>] chrdev_open+0x89/0x170
      >  [<c0167bd6>] __dentry_open+0xa6/0x1d0
      >  [<c0167da5>] nameidata_to_filp+0x35/0x40
      >  [<c0167df9>] do_filp_open+0x49/0x50
      >  [<c0167e47>] do_sys_open+0x47/0xd0
      >  [<c0167f0c>] sys_open+0x1c/0x20
      >  [<c010307d>] sysenter_past_esp+0x56/0x8d
      >  [<b7f86410>] 0xb7f86410
      >  =======================
      
      The comment at the nesting lock says:
      
      	/* Careful for priority inversions here !
      	 * irlmp->links is never taken while another IrDA
      	 * spinlock is held, so we are safe. Jean II */
      
      So, under the assumption the author was right, it just needs a lockdep
      annotation.
      Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
      Acked-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      700f9672
  8. 11 10月, 2006 1 次提交
  9. 02 10月, 2006 1 次提交
    • J
      [PATCH] const struct tty_operations · b68e31d0
      Jeff Dike 提交于
      As part of an SMP cleanliness pass over UML, I consted a bunch of
      structures in order to not have to document their locking.  One of these
      structures was a struct tty_operations.  In order to const it in UML
      without introducing compiler complaints, the declaration of
      tty_set_operations needs to be changed, and then all of its callers need to
      be fixed.
      
      This patch declares all struct tty_operations in the tree as const.  In all
      cases, they are static and used only as input to tty_set_operations.  As an
      extra check, I ran an i386 allyesconfig build which produced no extra
      warnings.
      
      53 drivers are affected.  I checked the history of a bunch of them, and in
      most cases, there have been only a handful of maintenance changes in the
      last six months.  serial_core.c was the busiest one that I looked at.
      Signed-off-by: NJeff Dike <jdike@addtoit.com>
      Acked-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      b68e31d0
  10. 29 9月, 2006 2 次提交
  11. 22 7月, 2006 2 次提交
  12. 01 7月, 2006 1 次提交
  13. 30 6月, 2006 1 次提交
  14. 27 6月, 2006 2 次提交
  15. 18 6月, 2006 1 次提交
  16. 06 6月, 2006 1 次提交
  17. 23 5月, 2006 1 次提交
  18. 10 5月, 2006 1 次提交
  19. 29 3月, 2006 2 次提交
  20. 10 2月, 2006 2 次提交
  21. 12 1月, 2006 2 次提交
  22. 04 1月, 2006 3 次提交
  23. 03 1月, 2006 1 次提交
  24. 09 11月, 2005 1 次提交
  25. 04 10月, 2005 1 次提交
    • H
      [IPV4]: Replace __in_dev_get with __in_dev_get_rcu/rtnl · e5ed6399
      Herbert Xu 提交于
      The following patch renames __in_dev_get() to __in_dev_get_rtnl() and
      introduces __in_dev_get_rcu() to cover the second case.
      
      1) RCU with refcnt should use in_dev_get().
      2) RCU without refcnt should use __in_dev_get_rcu().
      3) All others must hold RTNL and use __in_dev_get_rtnl().
      
      There is one exception in net/ipv4/route.c which is in fact a pre-existing
      race condition.  I've marked it as such so that we remember to fix it.
      
      This patch is based on suggestions and prior work by Suzanne Wood and
      Paul McKenney.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e5ed6399
  26. 25 9月, 2005 2 次提交
  27. 13 9月, 2005 1 次提交
  28. 06 9月, 2005 1 次提交