From: Paul Mundt Date: Mon, 8 Mar 2010 04:33:17 +0000 (+0900) Subject: sh: Support CPU affinity masks for INTC controllers. X-Git-Tag: v2.6.34-rc2~1^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8941dad1f12b4e8a87a517ed27f29d0209c817c;p=pandora-kernel.git sh: Support CPU affinity masks for INTC controllers. This hooks up the ->set_affinity() for the INTC controllers, which can be done as just a simple copy of the cpumask. The enable/disable paths already handle SMP register strides, so we just test the affinity mask in these paths to determine which strides to skip over. The early enable/disable path happens prior to the IRQs being registered, so we have no affinity mask established at that point, in which case we just default to CPU_MASK_ALL. This is left as it is to permit the force enable/disable code to retain existing semantics. Signed-off-by: Paul Mundt --- Reading git-diff-tree failed