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
Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git]
/
arch
/
powerpc
/
kernel
/
ptrace.c
diff --git
a/arch/powerpc/kernel/ptrace.c
b/arch/powerpc/kernel/ptrace.c
index
dea75d7
..
4a677d1
100644
(file)
--- a/
arch/powerpc/kernel/ptrace.c
+++ b/
arch/powerpc/kernel/ptrace.c
@@
-15,6
+15,7
@@
* this archive for more details.
*/
* this archive for more details.
*/
+#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/mm.h>
@@
-403,6
+404,7
@@
long arch_ptrace(struct task_struct *child, long request, long addr, long data)
ret = ptrace_detach(child, data);
break;
ret = ptrace_detach(child, data);
break;
+#ifdef CONFIG_PPC64
case PPC_PTRACE_GETREGS: { /* Get GPRs 0 - 31. */
int i;
unsigned long *reg = &((unsigned long *)child->thread.regs)[0];
case PPC_PTRACE_GETREGS: { /* Get GPRs 0 - 31. */
int i;
unsigned long *reg = &((unsigned long *)child->thread.regs)[0];
@@
-466,6
+468,7
@@
long arch_ptrace(struct task_struct *child, long request, long addr, long data)
}
break;
}
}
break;
}
+#endif /* CONFIG_PPC64 */
#ifdef CONFIG_ALTIVEC
case PTRACE_GETVRREGS:
#ifdef CONFIG_ALTIVEC
case PTRACE_GETVRREGS: