]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/kernel/rtas-proc.c
Merge branch 'master'
[linux-2.6-omap-h63xx.git] / arch / powerpc / kernel / rtas-proc.c
index 7a95b8a283548cfca73e75f76ad74c1a77744ca4..456286cf1d143cd8f6ca3ee9bf12af459620c1ce 100644 (file)
@@ -1,5 +1,4 @@
 /*
- *   arch/ppc64/kernel/rtas-proc.c
  *   Copyright (C) 2000 Tilmann Bitterberg
  *   (tilmann@bitterberg.de)
  *
@@ -258,7 +257,7 @@ static int __init proc_rtas_init(void)
 {
        struct proc_dir_entry *entry;
 
-       if (_machine != PLATFORM_PSERIES && _machine != PLATFORM_PSERIES_LPAR)
+       if (!machine_is(pseries))
                return 1;
 
        rtas_node = of_find_node_by_name(NULL, "rtas");