浏览代码

[SPARC64]: Fix compile error in irq.c

irq.c is missing the inclusion of asm/io.h, which causes
readb() and writeb() the be undefined.

Signed-off-by: Sven Hartge <hartge@ds9.argh.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Sven Hartge 19 年之前
父节点
当前提交
2e457ef667
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      arch/sparc64/kernel/irq.c

+ 1 - 0
arch/sparc64/kernel/irq.c

@@ -27,6 +27,7 @@
 #include <asm/atomic.h>
 #include <asm/system.h>
 #include <asm/irq.h>
+#include <asm/io.h>
 #include <asm/sbus.h>
 #include <asm/iommu.h>
 #include <asm/upa.h>