On Thu, Oct 05, 2006 at 09:41:08PM -0700, Stephen Hemminger 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 is due to David's irq change. Does the patch below fix this for you? David, does this look correct? thanks, greg k-h ------------------ From: Greg Kroah-Hartman <[EMAIL PROTECTED]> Subject: Export per_cpu____irq_regs so that modules can use it Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> diff --git a/lib/irq_regs.c b/lib/irq_regs.c index 101b1a4..aa6c29f 100644 --- a/lib/irq_regs.c +++ b/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_SYMBOL(per_cpu____irq_regs); #endif ------------------------------------------------------------------------- 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
