From: Martin Schwidefsky Date: Thu, 15 Dec 2011 13:56:10 +0000 (+0100) Subject: [S390] fix cputime overflow in uptime_proc_show X-Git-Tag: v3.3-rc1~191^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3e0ef9a298e028a82ada28101ccd5cf64d209ee;p=pandora-kernel.git [S390] fix cputime overflow in uptime_proc_show For 32-bit architectures using standard jiffies the idletime calculation in uptime_proc_show will quickly overflow. It takes (2^32 / HZ) seconds of idle-time, or e.g. 12.45 days with no load on a quad-core with HZ=1000. Switch to 64-bit calculations. Cc: stable@vger.kernel.org Cc: Michael Abbott Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed