]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
powerpc/xics: Change *_xirr_info_set() prototype to avoid casts
authorMilton Miller <miltonm@bga.com>
Fri, 10 Oct 2008 01:56:32 +0000 (01:56 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 13 Oct 2008 05:24:17 +0000 (16:24 +1100)
commit9dc2d44113d1521d8ead8e89e0772c0957b093c2
treed704d4615ed9c04f5169183fa61356e7e148605f
parent0641cc91b08937578263589feb15182b9ad2b0fc
powerpc/xics: Change *_xirr_info_set() prototype to avoid casts

The xirr is 32 bits in hardware, but the hypervisor requries the upper
bits of the register to be clear on the hcall.  By changing the type
from signed to unsigned int we can drop masking it back to 32 bits.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/xics.c