1. 08 6月, 2005 2 次提交
  2. 07 6月, 2005 33 次提交
  3. 06 6月, 2005 1 次提交
  4. 05 6月, 2005 4 次提交
    • Y
      [PATCH] serial: update NEC VR4100 series serial support · eae936e2
      Yoichi Yuasa 提交于
      - Changed the return value of unknown type to NULL.
      
      - Deleted the NULL check of dev_id in siu_interrupt().
      
      - Deleted the NULL check of port->membase in siu_shutdown().
      
      - Added the NULL check of port->membase to siu_startup().
      
      - Removed early_uart_ops. Now using vr41xx_siu standerd one.
      
      - Changed KSEG1ADDR() in siu_console_setup() to ioremap().
      
      - When uart_add_one_port() failed, changed to set NULL to port->dev.
      Signed-off-by: NYoichi Yuasa <yuasa@hh.iij4u.or.jp>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      eae936e2
    • G
      [PATCH] s390: deadlock in appldata · f26d583e
      Gerald Schaefer 提交于
      The system might hang when using appldata_mem with high I/O traffic and a
      large number of devices.  The spinlocks bdev_lock and swaplock are acquired
      via calls to si_meminfo() and si_swapinfo() from a tasklet, i.e.  interrupt
      context, which can lead to a deadlock.  Replace tasklet with work queue.
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      f26d583e
    • M
      [PATCH] s390: in_interrupt vs. in_atomic · 595bf2aa
      Martin Schwidefsky 提交于
      The condition for no context in do_exception checks for hard and soft
      interrupts by using in_interrupt() but not for preemption.  This is bad for
      the users of __copy_from/to_user_inatomic because the fault handler might call
      schedule although the preemption count is != 0.  Use in_atomic() instead
      in_interrupt().
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      595bf2aa
    • B
      [PATCH] s390: uml ptrace fixes · c5c3a6d8
      Bodo Stroesser 提交于
      To make UML build and run on s390, I needed to do these two little
      changes:
      
      1) UML includes some of the subarch's (s390) headers. I had to
         change one of them with the following one-liner, to make this
         compile. AFAICS, this change doesn't break compilation of s390
         itself.
      
      2) UML needs to intercept syscalls via ptrace to invalidate the syscall,
         read syscall's parameters and write the result with the result of
         UML's syscall processing. Also, UML needs to make sure, that the host
         does no syscall restart processing. On i386 for example, this can be
         done by writing -1 to orig_eax on the 2nd syscall interception
         (orig_eax is the syscall number, which after the interception is used
         as a "interrupt was a syscall" flag only.
         Unfortunately, s390 holds syscall number and syscall result in gpr2 and
         its "interrupt was a syscall" flag (trap) is unreachable via ptrace.
         So I changed the host to set trap to -1, if the syscall number is changed
         to an invalid value on the first syscall interception.
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      c5c3a6d8