git: linprocfs - fix multi-CPU stat & cpuinfo

Alex Hornung alexh at crater.dragonflybsd.org
Tue Mar 16 02:22:00 PDT 2010


commit 9cccdbd4b71c58391b8a46436c5c23cbb8175cb9
Author: Alex Hornung <ahornung at gmail.com>
Date:   Tue Mar 16 09:02:47 2010 +0000

    linprocfs - fix multi-CPU stat & cpuinfo
    
    * Add multiprocessor support to /proc/stat and /proc/cpuinfo, as the
      sysconf() function uses these to find the total number of CPUs in the
      system.

Summary of changes:
 .../linux/i386/linprocfs/linprocfs_misc.c          |   56 +++++++++++++++-----
 1 files changed, 42 insertions(+), 14 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9cccdbd4b71c58391b8a46436c5c23cbb8175cb9


-- 
DragonFly BSD source repository





More information about the Commits mailing list