]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/i386/kernel/hpet.c
[PATCH] lockdep: annotate i386 apm
[linux-2.6-omap-h63xx.git] / arch / i386 / kernel / hpet.c
index c6737c35815db8fff2ede01f0322773eda864a34..17647a530b2f4b927b5a8f40e1d7d88f0acd482c 100644 (file)
@@ -35,7 +35,7 @@ static int __init init_hpet_clocksource(void)
        void __iomem* hpet_base;
        u64 tmp;
 
-       if (!hpet_address)
+       if (!is_hpet_enabled())
                return -ENODEV;
 
        /* calculate the hpet address: */