From: Michael Ellerman Date: Wed, 19 May 2010 02:12:32 +0000 (+0000) Subject: powerpc/rtasd: Don't start event scan if scan rate is zero X-Git-Tag: v2.6.35-rc1~450^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7358650e9e9a81c854dc4582b4193eb5ea500bf6;p=pandora-kernel.git powerpc/rtasd: Don't start event scan if scan rate is zero There appear to be Pegasos systems which have the rtas-event-scan RTAS tokens, but on which the event scan always fails. They also have an event-scan-rate property containing 0, which means call event scan 0 times per minute. So interpret a scan rate of 0 to mean don't scan at all. This fixes the problem on the Pegasos machines and makes sense as well. Signed-off-by: Michael Ellerman Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed