Re: [PATCH 09/24] ia64: types: use <asm-generic/int-*.h> for theia64 architecture

From: H. Peter Anvin
Date: Thu Apr 24 2008 - 23:42:30 EST


Luck, Tony wrote:
I get an error while building the ia64 sim_defconfig (which
uses CONFIG_HZ=32)

kernel/time.c: In function `msecs_to_jiffies':
kernel/time.c:472: error: `MSEC_TO_HZ_MUL32UL' undeclared (first use in this function)
kernel/time.c:472: error: (Each undeclared identifier is reported only once
kernel/time.c:472: error: for each function it appears in.)


The generated timeconst.h has:
#define MSEC_TO_HZ_MUL32 0x83126e98

So some weird cpp thing happened and the UL got concatenated
before the MSEC_TO_HZ_MUL32 was swapped out for its defined
value.

All the rest of the ia64 configs build ok.


OK... I'm clearly having a bad day... not only is the last patch in the series (the kernel/time.c stuff) just plain broken, but I ran the wrong test battery on it.

I will fix it up and post a replacement patch.

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/