• Adam J. Richter's avatar
    [PATCH] linux-2.5.41/drivers/usb/core/hub.c called down() from interrupt context · 0c9fd8bb
    Adam J. Richter authored
    	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.
    0c9fd8bb
hub.c 32.6 KB