Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 66560

Summary: mm-sources 2.6.9_rc3-r2 irq.c compile badness with stack != 4K
Product: Gentoo Linux Reporter: Scott Taylor (RETIRED) <swtaylor>
Component: New packagesAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Scott Taylor (RETIRED) gentoo-dev 2004-10-06 12:47:15 UTC
CC      arch/i386/kernel/irq.o
arch/i386/kernel/irq.c:203: error: redefinition of 'is_irq_stack_ptr'
include/asm/hardirq.h:25: error: previous definition of 'is_irq_stack_ptr' was here

include/asm/hardirq.h has:
#ifdef CONFIG_4KSTACKS
int is_irq_stack_ptr(struct task_struct *task, void *p);
#else
static inline int is_irq_stack_ptr(struct task_struct *task, void *p)
{
        return 0;
}
#endif


this of course causes the redefinition of it when its not wrapped with the 
#ifdef in arch/i386/kernel/irq.c
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2004-10-06 13:10:48 UTC

*** This bug has been marked as a duplicate of 66558 ***