I have some code which I don't want to be executed from interrupt context. To detect this, I want to trigger BUG() from my code, but I need some macro which will tell me whether my code executed from interrupt handler or not. Does Linux have such macro?
↧