lkml.org 
[lkml]   [2007]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 4/5] Make use of kretprobe_assert.
    From: Heiko Carstens <heiko.carstens@de.ibm.com>

    s390 change for git commit 0f95b7fc839bc3272b1bf2325d8748a649bd3534.
    That is print kprobes debug data before BUG().

    Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
    Cc: Maneesh Soni <maneesh@in.ibm.com>
    Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
    Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
    ---

    arch/s390/kernel/kprobes.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    Index: quilt-2.6/arch/s390/kernel/kprobes.c
    ===================================================================
    --- quilt-2.6.orig/arch/s390/kernel/kprobes.c
    +++ quilt-2.6/arch/s390/kernel/kprobes.c
    @@ -413,7 +413,7 @@ static int __kprobes trampoline_probe_ha
    break;
    }
    }
    - BUG_ON(!orig_ret_address || (orig_ret_address == trampoline_address));
    + kretprobe_assert(ri, orig_ret_address, trampoline_address);
    regs->psw.addr = orig_ret_address | PSW_ADDR_AMODE;

    reset_current_kprobe();
    --
    blue skies,
    Martin.

    "Reality continues to ruin my life." - Calvin.

    -
    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: 2007-05-21 13:05    [W:0.023 / U:32.588 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site