mirror of https://gitee.com/openkylin/linux.git
ptrace: remove PT_DTRACE from arch/h8300
h8300 defines PT_DTRACE for asm but never uses it. DEFINE(PT_PTRACED, PT_PTRACED) seems to be unused too. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Yoshinori Sato <ysato@users.sourceforge.jp> Acked-by: Roland McGrath <roland@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
87245135d5
commit
02e787494a
|
@ -55,7 +55,6 @@ int main(void)
|
||||||
DEFINE(LRET, offsetof(struct pt_regs, pc) - sizeof(long));
|
DEFINE(LRET, offsetof(struct pt_regs, pc) - sizeof(long));
|
||||||
|
|
||||||
DEFINE(PT_PTRACED, PT_PTRACED);
|
DEFINE(PT_PTRACED, PT_PTRACED);
|
||||||
DEFINE(PT_DTRACE, PT_DTRACE);
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue