Messages in this thread Patch in this message | | | Date | Wed, 27 Oct 2004 19:27:39 -0700 | From | Venkatesh Pallipadi <> | Subject | Re: 2.6.10-rc4-mm1 hpet compile fix for AMD64 |
| |
On Wed, Oct 27, 2004 at 03:00:37PM -0700, Badari Pulavarty wrote: > Hi Andrew, > > Here is the HPET compile fix for AMD64. Without this, you > get following link error. (without HPET) > > arch/x86_64/kernel/built-in.o(.text+0x6426): In function `timer_resume': > arch/x86_64/kernel/time.c:971: undefined reference to `is_hpet_enabled' > >
That would be a bug introduced by my hpet-reenabling-after-suspend-resume.patch This should be a better fix.
Thanks, Venki
Signed-off-by:: "Venkatesh Pallipadi" <venkatesh.pallipadi@intel.com>
--- linux-2.6.9//arch/x86_64/kernel/time.c.org 2004-10-05 15:23:44.903948384 -0700 +++ linux-2.6.9//arch/x86_64/kernel/time.c 2004-10-05 15:30:41.242655280 -0700 @@ -899,7 +899,7 @@ static int timer_resume(struct sys_devic unsigned long flags; unsigned long sec; - if (is_hpet_enabled()) + if (vxtime.hpet_address) hpet_reenable(); sec = get_cmos_time() + clock_cmos_diff; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |