diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2013-06-18 23:21:11 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-19 09:08:35 +0100 |
commit | f24aed8d7e41cce277c6eff4ff5ab07b8e39ffff (patch) | |
tree | 7b30164f260466118a25048cba8eaaabfd36f6d2 /meta/recipes-extended/procps/procps_3.2.8.bb | |
parent | ea31d45def0e9fc4ed1c1ef92756d807ff59fe72 (diff) | |
download | openembedded-core-contrib-f24aed8d7e41cce277c6eff4ff5ab07b8e39ffff.tar.gz |
procps: fix that top will quit after cpu offline
top utiliy fails to read /proc/stat after cpu offline, because Cpu_tot
is still the original cpu numbers when calling cpus_refresh, in which
it is trying to read and sscanf Cpu_tot times /proc/stat.
The patch is from procps-3.2.8-2.fc12.src.rpm
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/procps/procps_3.2.8.bb')
-rw-r--r-- | meta/recipes-extended/procps/procps_3.2.8.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/procps/procps_3.2.8.bb b/meta/recipes-extended/procps/procps_3.2.8.bb index 7533859518..8436d4ace4 100644 --- a/meta/recipes-extended/procps/procps_3.2.8.bb +++ b/meta/recipes-extended/procps/procps_3.2.8.bb @@ -9,6 +9,7 @@ SRC_URI += "file://procmodule.patch \ file://procps-3.2.8+gmake-3.82.patch \ file://gnu-kbsd-version.patch \ file://60_linux_version_init.patch \ + file://procps-3.2.7-top-remcpu.patch \ " SRC_URI[md5sum] = "9532714b6846013ca9898984ba4cd7e0" |