lkml.org 
[lkml]   [2008]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] [1/20] x86: Make ptrace.h safe to include from assembler code
    Date

    Signed-off-by: Andi Kleen <ak@suse.de>

    ---
    include/asm-x86/ptrace-abi.h | 2 ++
    1 file changed, 2 insertions(+)

    Index: linux/include/asm-x86/ptrace-abi.h
    ===================================================================
    --- linux.orig/include/asm-x86/ptrace-abi.h
    +++ linux/include/asm-x86/ptrace-abi.h
    @@ -80,6 +80,7 @@

    #define PTRACE_SINGLEBLOCK 33 /* resume execution until next branch */

    +#ifndef __ASSEMBLY__
    /* configuration/status structure used in PTRACE_BTS_CONFIG and
    PTRACE_BTS_STATUS commands.
    */
    @@ -91,6 +92,7 @@ struct ptrace_bts_config {
    /* buffer overflow signal */
    unsigned int signal;
    };
    +#endif

    #define PTRACE_BTS_O_TRACE 0x1 /* branch trace */
    #define PTRACE_BTS_O_SCHED 0x2 /* scheduling events w/ jiffies */

    \
     
     \ /
      Last update: 2008-01-03 01:53    [W:3.476 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site