Message ID | 20090107145822.625960f2.akpm@linux-foundation.org |
---|---|
State | Accepted |
Delegated to: | David Miller |
Headers | show |
From: Andrew Morton <akpm@linux-foundation.org> Date: Wed, 7 Jan 2009 14:58:22 -0800 > On Wed, 07 Jan 2009 14:43:10 -0800 (PST) > David Miller <davem@davemloft.net> wrote: > > > for the drivers/base/topology.o build failure case above. > > yes, there were some nasty problems liek that. In several cases we wimped > out and added the necessary includes to the .c file. Will that (sad hack) > work here? I'll try that but if other gremlins pop up I'll simply add a linux/hardirq.h include to arch/sparc/include/asm/local.h -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
--- a/arch/sparc/kernel/mdesc.c~remove-linux-hardirqh-from-asm-generic-localh-sparc-fix +++ a/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> --- a/arch/sparc/kernel/sysfs.c~remove-linux-hardirqh-from-asm-generic-localh-sparc-fix +++ a/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>