From: Milton Miller Date: Fri, 10 Oct 2008 01:56:34 +0000 (+0000) Subject: powerpc/xics: Factor out cpu joining/unjoining the GIQ X-Git-Tag: v2.6.28-rc1~569^2~17 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4963255ad5a426f04a0bb15c4315fa4bb40cde9;p=pandora-kernel.git powerpc/xics: Factor out cpu joining/unjoining the GIQ This factors out processors joining and unjoining the Global Interrupt Queue into a separate function. There is a bit of math to calculate the arguments to rtas to join or leave the global interrupt queue, and a warning on failure afterwards. Make a helper for the 3 callers. Signed-off-by: Milton Miller Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed