softlockup: make asm/irq_regs.h available on every platform

The softlockup detector would like to use get_irq_regs(), so generalize the
availability on every Linux architecture.

(It is fine for an architecture to always return NULL to get_irq_regs(),
which it does by default.)

Signed-off-by: Ingo Molnar <[email protected]>
Cc: Ian Molton <[email protected]>
Cc: Kumar Gala <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Mikael Starvik <[email protected]>
Cc: Miles Bader <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Ingo Molnar 2007-10-16 23:26:07 -07:00 • committed by Linus Torvalds
commit ad3b82795f
4 changed files with 4 additions and 0 deletions

View file

@ -0,0 +1 @@
#include <asm-generic/irq_regs.h>