projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3aa88cd
)
x86: make ptrace.h safe to include from assembler code
author
Andi Kleen
<
[email protected]
>
Wed, 30 Jan 2008 12:32:36 +0000
(13:32 +0100)
committer
Ingo Molnar
<
[email protected]
>
Wed, 30 Jan 2008 12:32:36 +0000
(13:32 +0100)
Signed-off-by: Andi Kleen <
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
Signed-off-by: Thomas Gleixner <
[email protected]
>
include/asm-x86/ptrace-abi.h
patch
|
blob
|
history
diff --git
a/include/asm-x86/ptrace-abi.h
b/include/asm-x86/ptrace-abi.h
index b3b9e023afce7851a268fe29b1efca3dc39f7e3b..08a12b790a7799c77ffe10c2c340713f161610ce 100644
(file)
--- a/
include/asm-x86/ptrace-abi.h
+++ b/
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 */