aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/ptrace-abi.h
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2008-01-30 07:32:36 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:32:36 -0500
commit27efeb67714608b28c0b213cceb6080749435c6b (patch)
treead4570c1e355071d49345ca668a58a4c3674b9a1 /include/asm-x86/ptrace-abi.h
parent3aa88cdf6bcc9e510c0707581131b821a7d3b7cb (diff)
x86: make ptrace.h safe to include from assembler code
Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/ptrace-abi.h')
-rw-r--r--include/asm-x86/ptrace-abi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/ptrace-abi.h b/include/asm-x86/ptrace-abi.h
index b3b9e023afce..08a12b790a77 100644
--- a/include/asm-x86/ptrace-abi.h
+++ b/include/asm-x86/ptrace-abi.h
@@ -80,6 +80,7 @@
80 80
81#define PTRACE_SINGLEBLOCK 33 /* resume execution until next branch */ 81#define PTRACE_SINGLEBLOCK 33 /* resume execution until next branch */
82 82
83#ifndef __ASSEMBLY__
83/* configuration/status structure used in PTRACE_BTS_CONFIG and 84/* configuration/status structure used in PTRACE_BTS_CONFIG and
84 PTRACE_BTS_STATUS commands. 85 PTRACE_BTS_STATUS commands.
85*/ 86*/
@@ -91,6 +92,7 @@ struct ptrace_bts_config {
91 /* buffer overflow signal */ 92 /* buffer overflow signal */
92 unsigned int signal; 93 unsigned int signal;
93}; 94};
95#endif
94 96
95#define PTRACE_BTS_O_TRACE 0x1 /* branch trace */ 97#define PTRACE_BTS_O_TRACE 0x1 /* branch trace */
96#define PTRACE_BTS_O_SCHED 0x2 /* scheduling events w/ jiffies */ 98#define PTRACE_BTS_O_SCHED 0x2 /* scheduling events w/ jiffies */