[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[2.6.15-rc7@amd64] gfp.h & BUG_ON



Hi all,

I try to compile kernel 2.6.15-rc7 on a P4 630 EM64T.

1) kernel 2.6.15-rc7 compiles fine on my debian i686 distro.

2) compliling kernel 2.6.15-rc7 fails on the same linuxbox 
but for my amd64 distro.
kernel crashes at bootime with this message :

Kernel BUG at /include/linux/gfp.h:80
invalid operand : 0000 [1]
CPU 0
.../...

Looking line 80, one can see :

static inline int gfp_zone(gfp_t gfp)
{
        int zone = GFP_ZONEMASK & (__force int) gfp;
        BUG_ON(zone >= GFP_ZONETYPES);
        return zone;
}

3) kernel 2.6.14 compiles fine on my debian amd64 distro.
gfp.h differs from above : there is no BUG_ON symbol.

4) Any idea ?

Thanks in advance.

Cheers,


-- 
Fred.



Reply to: