[PATCH] linux-2.5.41/drivers/usb/core/hub.c called down() from interrupt context
On second thought after reading Oliver Neukum's question about "shaving off a cycle or two", here is version of my fix for down() being called from interrupt context that uses unlikely() to get the speed advantage that would be available from BUG_ON(), while still ensuring that the condition is executed even if assertions are compiled out.
Showing
Please register or sign in to comment