pnpacpi: fix shareable IRQ encode/decode
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 9 Jun 2008 23:52:05 +0000 (16:52 -0700)
committerLen Brown <len.brown@intel.com>
Wed, 11 Jun 2008 23:13:46 +0000 (19:13 -0400)
commita993273beae8022390e48fe9205480565ad470ab
treebfe1529bb9104d85a812028dd3d014e063675409
parente9fe9e188118a0a34c6200d9b10ea6247f53592d
pnpacpi: fix shareable IRQ encode/decode

When we encode IRQ resources, we should use the "shareable" flag we got
from _PRS rather than guessing based on the IRQ trigger mode.

This is based on a patch by Tom Jaeger:
    http://bugzilla.kernel.org/show_bug.cgi?id=9487#c32

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/pnp/pnpacpi/rsparser.c