On Fri, Mar 29, 2013 at 09:03:42PM +0000, Mark Brown wrote: > The idea of maintaining a bitmap of present registers is something that > can usefully be used by other cache types that maintain blocks of cached > registers so move the code out of the rbtree cache and into the generic > regcache code. > > Refactor the interface slightly as we go to wrap the set bit and enlarge > bitmap operations (since we never do one without the other) and make it > more robust for reads of uncached registers by bounds checking before we > look at the bitmap. > > Signed-off-by: Mark Brown <broo...@opensource.wolfsonmicro.com>
Looks good. Reviewed-by: Dimitris Papastamos <d...@opensource.wolfsonmicro.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/