This commit was generated by cvs2svn to compensate for changes in r1129,
[linux-2.6.git] / arch / ppc / kernel / temp.c
index 8d4b226..26bd8ea 100644 (file)
@@ -21,7 +21,6 @@
 #include <linux/interrupt.h>
 #include <linux/init.h>
 
-#include <asm/segment.h>
 #include <asm/io.h>
 #include <asm/reg.h>
 #include <asm/nvram.h>
@@ -223,7 +222,7 @@ int __init TAU_init(void)
        /* We assume in SMP that if one CPU has TAU support, they
         * all have it --BenH
         */
-       if (!(cur_cpu_spec[0]->cpu_features & CPU_FTR_TAU)) {
+       if (!cpu_has_feature(CPU_FTR_TAU)) {
                printk("Thermal assist unit not available\n");
                tau_initialized = 0;
                return 1;