[PATCH 5/8] ARM: hw_breakpoint: don't advertise reserved breakpoints

Will Deacon will.deacon at arm.com
Tue Nov 30 08:50:27 EST 2010


> > Currently, all the code above ends up doing is checking that we have more than
> > 1 breakpoint available if we want watchpoints.
> >
> > I could update the comment to say that we might advertise 0 watchpoints in the
> > case that only 1 breakpoint is available if you like?
> It was more out of curiosity really! If you're in there again it might be
> worth updating the comment otherwise it's not obvious why the code doesn't
> just return a static 1.

I've updated the comment so you should see it in v3!

Will






More information about the linux-arm-kernel mailing list