Re: [PATCH 02/13] hrtimer: remove useless const

From: Roman Zippel
Date: Mon Feb 13 2006 - 10:52:38 EST


Hi,

On Mon, 13 Feb 2006, Ingo Molnar wrote:

> your patch makes code larger on gcc3. Please investigate why.

Ok, I checked with 3.3.6 and 3.4.5 and adding const to ktime_divns/
posix_cpu_nsleep fixes the problem (actually the kernel becomes even
smaller because posix_cpu_clock_getres is better off without const), both
are complex and noncritical functions.
Andrew, I'd really prefer to keep the patch and I'll send a patch to add
the const where it's actually an improvement.

bye, Roman
-
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/