From: Theodore Ts'o Date: Sat, 14 Jun 2014 07:06:57 +0000 (-0400) Subject: random: clean up interrupt entropy accounting for archs w/o cycle counters X-Git-Tag: omap-for-v3.17/fixes-against-rc2~106^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=840f95077ffd640df9c74ad9796fa094a5c8075a;p=pandora-kernel.git random: clean up interrupt entropy accounting for archs w/o cycle counters For architectures that don't have cycle counters, the algorithm for deciding when to avoid giving entropy credit due to back-to-back timer interrupts didn't make any sense, since we were checking every 64 interrupts. Change it so that we only give an entropy credit if the majority of the interrupts are not based on the timer. Signed-off-by: Theodore Ts'o Cc: George Spelvin --- Reading git-diff-tree failed