Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758146AbbLBM1f (ORCPT ); Wed, 2 Dec 2015 07:27:35 -0500 Received: from mailapp01.imgtec.com ([195.59.15.196]:60592 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757166AbbLBMWU (ORCPT ); Wed, 2 Dec 2015 07:22:20 -0500 From: Qais Yousef To: CC: , , , , , , Qais Yousef Subject: [PATCH v3 06/19] genirq: Add an extra comment about the use of affinity in irq_common_data Date: Wed, 2 Dec 2015 12:21:47 +0000 Message-ID: <1449058920-21011-7-git-send-email-qais.yousef@imgtec.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1449058920-21011-1-git-send-email-qais.yousef@imgtec.com> References: <1449058920-21011-1-git-send-email-qais.yousef@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.168.154.94] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1241 Lines: 33 Affinity will have dual meaning depends on the type of the irq. If it is a normal irq, it'll have the standard affinity meaning. If it is an IPI, it will hold the IPI mask of the cpus it can talk to. Signed-off-by: Qais Yousef --- include/linux/irq.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/linux/irq.h b/include/linux/irq.h index 6bcbd11207ea..7f6dd4eec207 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h @@ -145,7 +145,9 @@ struct ipi_mapping { * Use accessor functions to deal with it * @node: node index useful for balancing * @handler_data: per-IRQ data for the irq_chip methods - * @affinity: IRQ affinity on SMP + * @affinity: IRQ affinity on SMP. + * If this is an IPI irq data, this will be the IPI mask + * of the cpus it can talk to. * @msi_desc: MSI descriptor * @ipi_mapping: Contains the hwirq mapping of IPIs. * The use of this struct is optional and not all irqchips -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/