1. 22 Jan, 2005 2 commits
    • Roland McGrath's avatar
      [PATCH] PPC64: fix stack alignment for signal handlers · 4f7dcde5
      Roland McGrath authored
      The PPC64 ABI specifies that the stack should be kept aligned to 16
      bytes.  However, signal handlers on PPC64 are getting run with the stack
      misaligned (sp % 16 == 8).  This patch fixes that by ensuring that the
      signal frame allocated is a multiple of 16 bytes.
      
      In addition to the PPC64 signal frame itself being of misaligned size,
      the explicit alignment of the starting stack pointer is also to 8
      instead of 16.  I've corrected this as well, so signal frames are
      aligned even if the interrupted registers contained a misaligned stack
      pointer. 
      Signed-off-by: default avatarRoland McGrath <roland@redhat.com>
      
      [ Paul Mackerras <paulus@samba.org> acked the original patch (which
        also did it for the 32-bit cases), and pointed out that the 32-bit
        cases all already did the alignment elsewhere and didn't need this.
        Patch edited down accordingly. ]
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      4f7dcde5
    • Zou Nanhai's avatar
      [PATCH] Fix an error in copy_page_range · a2f97129
      Zou Nanhai authored
      There is a bug in copy_page_range with 4 level page table change. 
      copy_page_range do a continue without adding pgds and addr when
      pgd_none(*src_pgd) or pgd_bad(*src_pgd).
      Signed-off-by: default avatarZou Nan hai <nanhai.zou@intel.com>
      Acked-by: default avatarNick Piggin <nickpiggin@yahoo.com.au>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      a2f97129
  2. 21 Jan, 2005 38 commits