Merge branch 'upstream'
[sfrench/cifs-2.6.git] / arch / powerpc / platforms / pseries / eeh.c
index 2ab9dcdfb41579704c55d8c1a4ddc918e832d6ee..9b2b1cb117b37f16db490e37a61482170a947729 100644 (file)
@@ -1018,7 +1018,7 @@ static int __init eeh_init_proc(void)
 {
        struct proc_dir_entry *e;
 
-       if (platform_is_pseries()) {
+       if (machine_is(pseries)) {
                e = create_proc_entry("ppc64/eeh", 0, NULL);
                if (e)
                        e->proc_fops = &proc_eeh_operations;