lkml.org 
[lkml]   [2008]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: let 64 bit to use 32 bit calibrate_apic_clock

* Yinghai Lu <yhlu.kernel@gmail.com> wrote:

> Signed-of-by: Yinghai Lu <yhlu.kernel@gmail.com>

applied to tip/irq/sparseirq - thanks Yinghai.

btw., why was this bit needed:

> @@ -659,6 +575,7 @@ static int __init calibrate_APIC_clock(v
> delta = lapic_cal_t1 - lapic_cal_t2;
> apic_printk(APIC_VERBOSE, "... lapic delta = %ld\n", delta);
>
> +#ifdef CONFIG_X86_PM_TIMER
> /* Check, if the PM timer is available */
> deltapm = lapic_cal_pm2 - lapic_cal_pm1;
> apic_printk(APIC_VERBOSE, "... PM timer delta = %ld\n", deltapm);
> @@ -687,6 +604,7 @@ static int __init calibrate_APIC_clock(v
> }
> pm_referenced = 1;
> }
> +#endif

wouldnt this be a (small) fix for the pre-unification 32-bit side as
well, which we should put into tip/x86/urgent as well?

Ingo


\
 
 \ /
  Last update: 2008-08-25 09:49    [W:0.046 / U:6.916 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site