2009-04-23 19:39:59

by Oleg Nesterov

[permalink] [raw]
Subject: [PATCH 1/4] 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 <[email protected]>

arch/h8300/kernel/asm-offsets.c | 1 -
1 file changed, 1 deletion(-)

--- PTRACE/arch/h8300/kernel/asm-offsets.c~DT_1_NOP 2009-04-06 00:03:35.000000000 +0200
+++ PTRACE/arch/h8300/kernel/asm-offsets.c 2009-04-22 21:29:00.000000000 +0200
@@ -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;
}


2009-04-24 21:09:30

by Yoshinori Sato

[permalink] [raw]
Subject: Re: [PATCH 1/4] ptrace: remove PT_DTRACE from arch/h8300

At Thu, 23 Apr 2009 21:32:02 +0200,
Oleg Nesterov wrote:
>
> 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 <[email protected]>
>

Acked-by: Yoshinori Sato <[email protected]>

> arch/h8300/kernel/asm-offsets.c | 1 -
> 1 file changed, 1 deletion(-)
>
> --- PTRACE/arch/h8300/kernel/asm-offsets.c~DT_1_NOP 2009-04-06 00:03:35.000000000 +0200
> +++ PTRACE/arch/h8300/kernel/asm-offsets.c 2009-04-22 21:29:00.000000000 +0200
> @@ -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;
> }
>

--
Yoshinori Sato
<[email protected]>