]> git.karo-electronics.de Git - mv-sheeva.git/commit
powerpc/xics: Factor out cpu joining/unjoining the GIQ
authorMilton Miller <miltonm@bga.com>
Fri, 10 Oct 2008 01:56:34 +0000 (01:56 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 13 Oct 2008 05:24:18 +0000 (16:24 +1100)
commitb4963255ad5a426f04a0bb15c4315fa4bb40cde9
tree18ed300d89d30e20ade63a94f49934b24e76afec
parenta244a957ab15ddbeccf4018ef4b3ac8f5fd1566d
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>
arch/powerpc/platforms/pseries/xics.c