commit | b4963255ad5a426f04a0bb15c4315fa4bb40cde9 | [log] [tgz] |
---|---|---|
author | Milton Miller <miltonm@bga.com> | Fri Oct 10 01:56:34 2008 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Mon Oct 13 16:24:18 2008 +1100 |
tree | 18ed300d89d30e20ade63a94f49934b24e76afec | |
parent | a244a957ab15ddbeccf4018ef4b3ac8f5fd1566d [diff] |
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 <miltonm@bga.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>