[PATCH] powerpc: Kill _machine and hard-coded platform numbers
[deliverable/linux.git] / arch / powerpc / platforms / pseries / rtasd.c
index a6f628d4c9dc59130e2c226b7abf6348fa9764d0..fcc4d561a23653a659775efd27f9f8c4ccd75d4b 100644 (file)
@@ -27,6 +27,7 @@
 #include <asm/prom.h>
 #include <asm/nvram.h>
 #include <asm/atomic.h>
+#include <asm/machdep.h>
 
 #if 0
 #define DEBUG(A...)    printk(KERN_ERR A)
@@ -481,7 +482,7 @@ static int __init rtas_init(void)
 {
        struct proc_dir_entry *entry;
 
-       if (!platform_is_pseries())
+       if (!machine_is(pseries))
                return 0;
 
        /* No RTAS */
This page took 0.027797 seconds and 5 git commands to generate.