Thread (12 messages) 12 messages, 2 authors, 2017-05-23

Re: [PATCH 3/7] genirq/affinity: factor out a irq_affinity_set helper

From: Christoph Hellwig <hch@lst.de>
Date: 2017-05-23 09:37:40
Also in: linux-nvme, lkml

On Sun, May 21, 2017 at 09:03:06PM +0200, Thomas Gleixner wrote:
quoted
+{
+	struct irq_data *data = irq_desc_get_irq_data(desc);
+	struct irq_chip *chip = irq_data_get_irq_chip(data);
+	bool ret = false;
+
+	if (!irqd_can_move_in_process_context(data) && chip->irq_mask)
Using that inline directly will make this function useless on architectures
which have GENERIC_PENDING_IRQS not set.

kernel/irq/manage.c has that wrapped. We need to move those wrappers to the
internal header file, so that it gets compiled out on other platforms.
Ok, will do.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help