1. 27 9月, 2006 37 次提交
  2. 26 9月, 2006 3 次提交
    • H
      [PATCH] s390: fix cmm kernel thread handling · e8216dee
      Heiko Carstens 提交于
      Convert cmm's usage of kernel_thread to kthread_run.  Also create the
      cmmthread at module load time, so it is possible to check if creation of
      the thread fails.
      
      In addition the cmmthread now gets terminated when the module gets unloaded
      instead of leaving a stale kernel thread.  Also check the return values of
      other registration functions at module load and handle their return values
      appropriately.
      
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      e8216dee
    • J
      [PATCH] Make UML use ptrace-abi.h · e8df8c33
      Jeff Dike 提交于
      Include the host architecture's ptrace-abi.h instead of ptrace.h.
      
      There was some cpp mangling of names around the ptrace.h include to avoid
      symbol clashes between UML and the host architecture.  Most of these can go
      away.  The exception is struct pt_regs, which is convenient to have in
      userspace, but must be renamed in order that UML can define its own.
      
      ptrace-x86_64.h needed to have some now-obsolete cpp cruft and a declaration
      removed.
      Signed-off-by: NJeff Dike <jdike@addtoit.com>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      e8df8c33
    • J
      [PATCH] Split i386 and x86_64 ptrace.h · 70e0eb8e
      Jeff Dike 提交于
      The use of SEGMENT_RPL_MASK in the i386 ptrace.h introduced by
      x86-allow-a-kernel-to-not-be-in-ring-0.patch broke the UML build, as UML
      includes the underlying architecture's ptrace.h, but has no easy access to the
      x86 segment definitions.
      
      Rather than kludging around this, as in the past, this patch splits the
      userspace-usable parts, which are the bits that UML needs, of ptrace.h into
      ptrace-abi.h, which is included back into ptrace.h.  Thus, there is no net
      effect on i386.
      
      As a side-effect, this creates a ptrace header which is close to being usable
      in /usr/include.
      
      x86_64 is also treated in this way for consistency.  There was some trailing
      whitespace there, which is cleaned up.
      Signed-off-by: NJeff Dike <jdike@addtoit.com>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      70e0eb8e