Arnd Bergmann [off-list ref] wrote:
That seems unlikely to work, so I suspect it gets a different definition.
If it uses this definition and it does work, we can probably use
#if defined(__KERNEL__) && defined(CONFIG_HAVE_MIXED_BREAKPOINTS_REGS)
but that requires a comment explaining exactly why that works.
Are you suggesting wrapping the entire construct in this within the UAPI
header?
David