From: Magnus Damm Date: Thu, 16 Aug 2007 15:50:44 +0000 (+0900) Subject: sh: intc - primary priority masking fixes X-Git-Tag: v2.6.24-rc1~1377^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d37d94e5aab669f5a492bb3cda67bbbbbca50b8;p=pandora-kernel.git sh: intc - primary priority masking fixes This patch contains various intc fixes for problems reported by Markus Brunner on the linuxsh-dev mailing list: http://marc.info/?l=linuxsh-dev&m=118701948224991&w=1 Apart from added comments, the fixes are: - add intc_set_priority() function prototype to hw_irq.h - fix off-by-one error in intc_set_priority() - make sure _INTC_WIDTH() is set for primary priority masking Big thanks to Markus for finding these problems. Version two fixes a compile error and an inverted primary check. Signed-off-by: Magnus Damm Acked-by: Markus Brunner Signed-off-by: Paul Mundt --- Reading git-diff-tree failed