On Thu, Oct 05, 2006 at 09:46:16PM -0700, Andrew Morton wrote:
> On Thu, 5 Oct 2006 21:41:08 -0700
> Stephen Hemminger <[EMAIL PROTECTED]> wrote:
> 
> > Latest kernel from git fails to build on my home machine
> > 
> > Kernel: arch/x86_64/boot/bzImage is ready  (#26)
> >   Building modules, stage 2.
> >   MODPOST 369 modules
> > WARNING: "per_cpu____irq_regs" [drivers/usb/host/ohci-hcd.ko] undefined!
> 
> This help?
> 
> --- a/lib/irq_regs.c~irq_reqs-export-__irq_regs
> +++ a/lib/irq_regs.c
> @@ -8,8 +8,10 @@
>   * as published by the Free Software Foundation; either version
>   * 2 of the License, or (at your option) any later version.
>   */
> +#include <linux/module.h>
>  #include <asm/irq_regs.h>
>  
>  #ifndef ARCH_HAS_OWN_IRQ_REGS
>  DEFINE_PER_CPU(struct pt_regs *, __irq_regs);
> +EXPORT_PER_CPU_SYMBOL(__irq_regs);
>  #endif

Oops, yeah, use this one, not mine, this is correct :)

thanks,

greg k-h

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to