lkml.org 
[lkml]   [2010]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH] ptrace: unify FDPIC implementations
    On Mon, Feb 15, 2010 at 20:10, Paul Mundt wrote:
    > On Mon, Feb 15, 2010 at 07:30:29PM -0500, Mike Frysinger wrote:
    >> The Blackfin/FRV/SuperH guys all have the same exact FDPIC ptrace code in
    >> their arch handlers (since they were probably copied & pasted).  Since
    >> these ptrace interfaces are an arch independent aspect of the FDPIC code,
    >> unify them in the common ptrace code so new FDPIC ports don't need to copy
    >> and paste this fundamental stuff yet again.
    >>
    >> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
    >> Acked-by: Roland McGrath <roland@redhat.com>
    >> Acked-by: David Howells <dhowells@redhat.com>
    >> Acked-by: Paul Mundt <lethal@linux-sh.org>
    >
    > Just to follow up on this, this code obviously expects consistent entries
    > in mm_context_t. Presently include/asm-generic/mmu.h is aimed at nommu,
    > so it would probably be worthwhile stubbing in the FDPIC loadmap entries
    > there to make things easier for future ports.

    probably be a good idea. for FDPIC in general, the header also needs
    "stack_start".
    -mike
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2010-02-16 09:15    [W:0.024 / U:1.368 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site