Re: [PATCH] x86: remove unused code in set_cyc2ns_scale()

2008-01-31 Thread Guillaume Chazarain
On 1/31/08, Ingo Molnar <[EMAIL PROTECTED]> wrote: > hm, this is not a pure elimination of dead code, this will change > behavior. For example we wont call sched_clock_idle_sleep_event() on > !cpu_khz now. Hm? Oops, indeed I overlooked that. OTOH, I can't see how it can happen (in 32 bit at least)

Re: [PATCH] x86: remove unused code in set_cyc2ns_scale()

2008-01-31 Thread Ingo Molnar
* Guillaume Chazarain <[EMAIL PROTECTED]> wrote: > arch/x86/kernel/tsc_32.c | 14 +- > arch/x86/kernel/tsc_64.c | 14 +- > 2 files changed, 10 insertions(+), 18 deletions(-) > static void set_cyc2ns_scale(unsigned long cpu_khz, int cpu) > { > - unsigned long fl