This has a "#ifdef CONFIG_*" that used to be exposed to userspace. The names in here are so generic that I don't think it's a good idea to expose them to userspace (or even the rest of the kernel). There are multiple in-kernel users, so it's been moved to a kernel header file.
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -22,14 +22,4 @@ enum { · 21 unmodified lines | ||
| 22 | 22 | HW_BREAKPOINT_INVALID = HW_BREAKPOINT_RW | HW_BREAKPOINT_X, |
| 23 | 23 | }; |
| 24 | 24 | |
| 25 | −enum bp_type_idx { | |
| 26 | − TYPE_INST = 0, | |
| 27 | −#ifdef CONFIG_HAVE_MIXED_BREAKPOINTS_REGS | |
| 28 | − TYPE_DATA = 0, | |
| 29 | −#else | |
| 30 | − TYPE_DATA = 1, | |
| 31 | −#endif | |
| 32 | − TYPE_MAX | |
| 33 | −}; | |
| 34 | − | |
| 35 | 25 | #endif /* _UAPI_LINUX_HW_BREAKPOINT_H */ |