Ver Fonte

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 há 16 anos atrás
pai
commit
6e6ab2e2f0
2 ficheiros alterados com 2 adições e 0 exclusões
  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/mm.h>
 #include <linux/miscdevice.h>
 #include <linux/miscdevice.h>
 
 
+#include <asm/cpudata.h>
 #include <asm/hypervisor.h>
 #include <asm/hypervisor.h>
 #include <asm/mdesc.h>
 #include <asm/mdesc.h>
 #include <asm/prom.h>
 #include <asm/prom.h>

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

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