ptrace: remove PT_DTRACE from arch/h8300
Oleg Nesterov [Wed, 17 Jun 2009 23:27:23 +0000 (16:27 -0700)]
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>

arch/h8300/kernel/asm-offsets.c

index 2042552..fd961e0 100644 (file)
@@ -55,7 +55,6 @@ int main(void)
        DEFINE(LRET,  offsetof(struct pt_regs, pc)       - sizeof(long));
 
        DEFINE(PT_PTRACED, PT_PTRACED);
-       DEFINE(PT_DTRACE, PT_DTRACE);
 
        return 0;
 }