[Crash-utility] [PATCH 2/3] MIPS64: Modify the comment of mips64_register structure

Youling Tang tangyouling at loongson.cn
Fri Apr 23 07:42:10 UTC 2021


mips64_register refers to the definition of the pt_regs structure
in the arch/mips/include/asm/ptrace.h file, not the uapi directory.
Avoid misunderstandings when reading the source code.

Signed-off-by: Youling Tang <tangyouling at loongson.cn>
---
 defs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/defs.h b/defs.h
index cd24107..c93d79b 100644
--- a/defs.h
+++ b/defs.h
@@ -6488,7 +6488,7 @@ void mips64_dump_machdep_table(ulong);
 #define display_idt_table() \
 	error(FATAL, "-d option is not applicable to MIPS64 architecture\n")
 
-/* from arch/mips/include/uapi/asm/ptrace.h */
+/* from arch/mips/include/asm/ptrace.h */
 struct mips64_register {
 	ulong regs[45];
 };
-- 
2.1.0




More information about the Crash-utility mailing list