git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
arch
/
um
/
include
/
sysdep-i386
/
ptrace.h
diff --git
a/arch/um/include/sysdep-i386/ptrace.h
b/arch/um/include/sysdep-i386/ptrace.h
index
c8ee955
..
6670cc9
100644
(file)
--- a/
arch/um/include/sysdep-i386/ptrace.h
+++ b/
arch/um/include/sysdep-i386/ptrace.h
@@
-14,7
+14,12
@@
#define MAX_REG_NR (UM_FRAME_SIZE / sizeof(unsigned long))
#define MAX_REG_OFFSET (UM_FRAME_SIZE)
#define MAX_REG_NR (UM_FRAME_SIZE / sizeof(unsigned long))
#define MAX_REG_OFFSET (UM_FRAME_SIZE)
+#ifdef UML_CONFIG_PT_PROXY
extern void update_debugregs(int seq);
extern void update_debugregs(int seq);
+#else
+static inline void update_debugregs(int seq) {}
+#endif
+
/* syscall emulation path in ptrace */
/* syscall emulation path in ptrace */