Skip to contentSkip to conversation

ptrace: remove PT_DTRACE from arch/h8300

PATCH In review Oleg Nesterov 2 participants 2 messages Apr 23, 2009 – Apr 24, 2009

lore
Share & tools
lore
#0 lore raw

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.

 arch/h8300/kernel/asm-offsets.c |    1 -
 1 file changed, 1 deletion(-)
arch/h8300/kernel/asm-offsets.c renamed from arch/h8300/kernel/asm-offsets.c~DT_1_NOP +0 -1
@@ -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;
 }
Acked-by on v1 1/4
#1 lore raw

At Thu, 23 Apr 2009 21:32:02 +0200,

Quoted 7 lines · Oleg Nesterov

h8300 defines PT_DTRACE for asm but never uses it.

DEFINE(PT_PTRACED, PT_PTRACED) seems to be unused too.

Quoted 14 lines
 arch/h8300/kernel/asm-offsets.c |    1 -
 1 file changed, 1 deletion(-)
arch/h8300/kernel/asm-offsets.c renamed from arch/h8300/kernel/asm-offsets.c~DT_1_NOP +0 -1
@@ -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;
 }
Signature · 2 lines
Yoshinori Sato
<[email protected]>