aboutsummaryrefslogtreecommitdiff
path: root/drivers/mailbox
diff options
context:
space:
mode:
authorThomas Petazzoni2013-08-13 10:11:42 +0200
committerJason Cooper2013-08-13 15:16:30 +0000
commit6a4324ebf5cf412d55fd1ea259d4dd29fb8f90e8 (patch)
tree58930245de1df78313b6e6e61fb8308f815b94a9 /drivers/mailbox
parent9d981ea5d43af79e1d7942d3d28e0f609db8b5d4 (diff)
PCI: msi: add default MSI operations for !HAVE_GENERIC_HARDIRQS platforms
Some platforms (e.g S390) don't use the generic hardirqs code and therefore do not defined HAVE_GENERIC_HARDIRQS. This prevents using the irq_set_chip_data() and irq_get_chip_data() functions that are used for the default implementations of the MSI operations. So, when CONFIG_GENERIC_HARDIRQS is not enabled, provide another default implementation of the MSI operations, that simply errors out. The architecture is responsible for implementing those operations (which is the case on S390), and cannot use the msi_chip infrastructure. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'drivers/mailbox')
0 files changed, 0 insertions, 0 deletions