瀏覽代碼

sparc: fix hardirq.h removal fallout

When hardirq.h are removed from asm-generic/local.h a few
bits fails to build.  Fix these upfront.
Reported by Alexey Dobriyan.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Sam Ravnborg 16 年之前
父節點
當前提交
6e6ab2e2f0
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      arch/sparc/kernel/mdesc.c
  2. 1 0
      arch/sparc/kernel/sysfs.c

+ 1 - 0
arch/sparc/kernel/mdesc.c

@@ -11,6 +11,7 @@
 #include <linux/mm.h>
 #include <linux/miscdevice.h>
 
+#include <asm/cpudata.h>
 #include <asm/hypervisor.h>
 #include <asm/mdesc.h>
 #include <asm/prom.h>

+ 1 - 0
arch/sparc/kernel/sysfs.c

@@ -8,6 +8,7 @@
 #include <linux/percpu.h>
 #include <linux/init.h>
 
+#include <asm/cpudata.h>
 #include <asm/hypervisor.h>
 #include <asm/spitfire.h>