• Andrew Morton's avatar
    [PATCH] Cleanup ppc64 procfs code · 30ffc51d
    Andrew Morton authored
    From: Anton Blanchard <anton@samba.org>
    
    Cleanup ppc64 procfs code:
    
    - Use initcalls everywhere. This allowed us to remove the iseries proc
      callback interface.
    - Kill proc_pmc.c. Most of it wasnt used (and we are planning to export the
      PMCs via sysfs). The few things left were iseries specific so they
      got moved into iSeries_proc.c.
    - Kill pmc.c. We dont use those statistics and the ones that are left
      can be gained via PMCs.
    - Create /proc/iSeries and /proc/ppc64 very early. This means we no
      longer have to call proc_ppc64_init in all the drivers, we can
      assume its there.
    - Fix some error return cases in rtas-proc.c and rtas-flash
    - Dont even try some pseries specific drivers on pmac.
    30ffc51d
proc_rtas.c 22.1 KB