]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/kernel/rtas-proc.c
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
[linux-2.6-omap-h63xx.git] / arch / powerpc / kernel / rtas-proc.c
index 5bdd5b079d966359a0be76a8ff928abc0069a5f6..ae1a36449ccdd0b9e8039b1d8b73b8f92695988f 100644 (file)
@@ -259,7 +259,7 @@ static int __init proc_rtas_init(void)
 {
        struct proc_dir_entry *entry;
 
-       if (!(systemcfg->platform & PLATFORM_PSERIES))
+       if (_machine != PLATFORM_PSERIES && _machine != PLATFORM_PSERIES_LPAR)
                return 1;
 
        rtas_node = of_find_node_by_name(NULL, "rtas");