summaryrefslogtreecommitdiffstats
path: root/include/asm-mn10300/busctl-regs.h
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2009-02-17 01:18:49 +0100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-02-23 05:53:03 +0100
commitd523cc379da57f1c39f5db9c47bdaa94f74727ff (patch)
tree633a0fdaed64cea289706aa00063de9705cb29f2 /include/asm-mn10300/busctl-regs.h
parentpowerpc: Add support for using doorbells for SMP IPI (diff)
downloadlinux-d523cc379da57f1c39f5db9c47bdaa94f74727ff.tar.xz
linux-d523cc379da57f1c39f5db9c47bdaa94f74727ff.zip
powerpc/pseries: Return req#msi(-x) if request is larger
If a driver asks for more MSIs than the devices "req#msi(-x)" property, we currently return -ENOSPC. This doesn't give the driver any chance to make a new request with a number that might work. So if "req#msi(-x)" is less than the request, return its value. To be 100% safe, make sure we return an error if req_msi == 0. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/asm-mn10300/busctl-regs.h')
0 files changed, 0 insertions, 0 deletions