浏览代码

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 <mingo@elte.hu>
Cc: Ian Molton <spyro@f2s.com>
Cc: Kumar Gala <galak@gate.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Miles Bader <uclinux-v850@lsi.nec.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Ingo Molnar 17 年之前
父节点
当前提交
ad3b82795f
共有 4 个文件被更改,包括 4 次插入0 次删除
  1. 1 0
      include/asm-arm26/irq_regs.h
  2. 1 0
      include/asm-cris/irq_regs.h
  3. 1 0
      include/asm-ppc/irq_regs.h
  4. 1 0
      include/asm-v850/irq_regs.h

+ 1 - 0
include/asm-arm26/irq_regs.h

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

+ 1 - 0
include/asm-cris/irq_regs.h

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

+ 1 - 0
include/asm-ppc/irq_regs.h

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

+ 1 - 0
include/asm-v850/irq_regs.h

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