]> err.no Git - linux-2.6/blobdiff - arch/parisc/kernel/topology.c
unified (weak) sys_pipe implementation
[linux-2.6] / arch / parisc / kernel / topology.c
index 3ba040050e4ca1d85a28448accea66e50a0ce0fb..d71cb018a21e0466a22f30fe25bc7e0cf49850c5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * arch/parisc/kernel/topology.c - Populate driverfs with topology information
+ * arch/parisc/kernel/topology.c - Populate sysfs with topology information
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -26,11 +26,10 @@ static struct cpu cpu_devices[NR_CPUS] __read_mostly;
 
 static int __init topology_init(void)
 {
-       struct node *parent = NULL;
        int num;
 
        for_each_present_cpu(num) {
-               register_cpu(&cpu_devices[num], num, parent);
+               register_cpu(&cpu_devices[num], num);
        }
        return 0;
 }