# Re: \[PATCH 09/13\] Move bp\_type\_idx to kernel/event/hw\_breakpoint.c

- From: David Howells \<dhowells@redhat.com\>
- Date: 2015-09-17 10:28:20 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2015/09/99581
- Thread: https://ratatoskr.run/kexec/2015/09/99581/t.md

```text
Arnd Bergmann [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
```
