powerpc: Fix doorbell type shift
authorMichael Neuling <mikey@neuling.org>
Sun, 5 Jun 2011 16:48:47 +0000 (16:48 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 20 Jun 2011 01:21:48 +0000 (11:21 +1000)
commitdc28518f7d7dfd93cd44edb44f9b8e961f5a5c1b
treeb49e7716451fe02ab9a5ef51aba5edcdffd29a30
parentb6935f8cd915cf11c5222cab5ecc6a45adb2270c
powerpc: Fix doorbell type shift

doorbell type is defined as bits 32:36 so should be shifted by 63-36 =
27 rather than 28.

We never noticed this bug as we've only every used type PPC_DBELL = 0.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/dbell.h