From: David Daney Date: Wed, 24 Dec 2008 23:44:26 +0000 (-0800) Subject: MIPS: Fix a typo in watchpoint register structure. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7adbedaf4469dcdcd6a1ab9bdeb8ad854d4f9827;p=linux-beck.git MIPS: Fix a typo in watchpoint register structure. This fixes the ptrace ABI for watch registers, and should allow 64bit kernels to use the watch register support. Signed-off-by: David Daney Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/include/asm/ptrace.h b/arch/mips/include/asm/ptrace.h index 1f30d16d4669..ce47118e52b7 100644 --- a/arch/mips/include/asm/ptrace.h +++ b/arch/mips/include/asm/ptrace.h @@ -105,7 +105,7 @@ struct pt_watch_regs { enum pt_watch_style style; union { struct mips32_watch_regs mips32; - struct mips32_watch_regs mips64; + struct mips64_watch_regs mips64; }; };