Re: (regression) kernel/timeconst.h bugs with HZ=128

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: H. Peter Anvin
Date: Tuesday, February 26, 2008 - 5:34 pm

Andrew Morton wrote:

<barf>

The real issue is that we don't have any equivalent to the UINTxx_C() 
creation macros in Linux, and even though we're using a cast -- which is 
totally correct -- makes gcc issue a (spurious) warning.

The right thing would be to create _C() macros and use those in the C 
code, i.e. UINT64_C(MSEC_TO_HZ_MUL32).

I'll write up a patch, but probably not today.

	-hpa
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
(regression) kernel/timeconst.h bugs with HZ=128, David Brownell, (Tue Feb 26, 11:32 am)
Re: (regression) kernel/timeconst.h bugs with HZ=128, Andrew Morton, (Tue Feb 26, 5:09 pm)
Re: (regression) kernel/timeconst.h bugs with HZ=128, H. Peter Anvin, (Tue Feb 26, 5:34 pm)