projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
arm64: debug: consolidate software breakpoint handlers
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
arch
/
arm64
/
include
/
asm
/
debug-monitors.h
diff --git
a/arch/arm64/include/asm/debug-monitors.h
b/arch/arm64/include/asm/debug-monitors.h
index
7eaa0b3
..
ef8235c
100644
(file)
--- a/
arch/arm64/include/asm/debug-monitors.h
+++ b/
arch/arm64/include/asm/debug-monitors.h
@@
-83,6
+83,15
@@
static inline int reinstall_suspended_bps(struct pt_regs *regs)
}
#endif
}
#endif
+#ifdef CONFIG_COMPAT
+int aarch32_break_handler(struct pt_regs *regs);
+#else
+static int aarch32_break_handler(struct pt_regs *regs)
+{
+ return -EFAULT;
+}
+#endif
+
#endif /* __ASSEMBLY */
#endif /* __KERNEL__ */
#endif /* __ASM_DEBUG_MONITORS_H */
#endif /* __ASSEMBLY */
#endif /* __KERNEL__ */
#endif /* __ASM_DEBUG_MONITORS_H */