[PATCH 4.4 01/64] ring-buffer: Fix recursion protection transitions between interrupt context