Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751712AbbGKVju (ORCPT ); Sat, 11 Jul 2015 17:39:50 -0400 Received: from terminus.zytor.com ([198.137.202.10]:37485 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751346AbbGKVjs (ORCPT ); Sat, 11 Jul 2015 17:39:48 -0400 Date: Sat, 11 Jul 2015 14:38:50 -0700 From: tip-bot for Jiang Liu Message-ID: Cc: konrad.wilk@oracle.com, benh@kernel.crashing.org, rdunlap@infradead.org, bhelgaas@google.com, tony.luck@intel.com, yinghai@kernel.org, mingo@kernel.org, hpa@zytor.com, tglx@linutronix.de, jason@lakedaemon.net, linux-kernel@vger.kernel.org, jiang.liu@linux.intel.com, bp@alien8.de Reply-To: bp@alien8.de, jason@lakedaemon.net, jiang.liu@linux.intel.com, linux-kernel@vger.kernel.org, tglx@linutronix.de, mingo@kernel.org, hpa@zytor.com, yinghai@kernel.org, tony.luck@intel.com, bhelgaas@google.com, rdunlap@infradead.org, benh@kernel.crashing.org, konrad.wilk@oracle.com In-Reply-To: <1433145945-789-30-git-send-email-jiang.liu@linux.intel.com> References: <1433145945-789-30-git-send-email-jiang.liu@linux.intel.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:irq/core] irqchip/mips-gic: Use access helper irq_data_get_affinity_mask() Git-Commit-ID: 72f86db4dd5eafbadd45c9092df73c49f320f638 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1942 Lines: 47 Commit-ID: 72f86db4dd5eafbadd45c9092df73c49f320f638 Gitweb: http://git.kernel.org/tip/72f86db4dd5eafbadd45c9092df73c49f320f638 Author: Jiang Liu AuthorDate: Mon, 1 Jun 2015 16:05:38 +0800 Committer: Thomas Gleixner CommitDate: Sat, 11 Jul 2015 23:14:27 +0200 irqchip/mips-gic: Use access helper irq_data_get_affinity_mask() Use access helper irq_data_get_affinity_mask() to hide implementation details of struct irq_desc. [ tglx: Verified with coccinelle ] Signed-off-by: Jiang Liu Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Bjorn Helgaas Cc: Benjamin Herrenschmidt Cc: Randy Dunlap Cc: Yinghai Lu Cc: Borislav Petkov Cc: Jason Cooper Link: http://lkml.kernel.org/r/1433145945-789-30-git-send-email-jiang.liu@linux.intel.com Signed-off-by: Thomas Gleixner --- drivers/irqchip/irq-mips-gic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-mips-gic.c b/drivers/irqchip/irq-mips-gic.c index 42dbebc..e6c2df9 100644 --- a/drivers/irqchip/irq-mips-gic.c +++ b/drivers/irqchip/irq-mips-gic.c @@ -405,7 +405,7 @@ static int gic_set_affinity(struct irq_data *d, const struct cpumask *cpumask, clear_bit(irq, pcpu_masks[i].pcpu_mask); set_bit(irq, pcpu_masks[cpumask_first(&tmp)].pcpu_mask); - cpumask_copy(d->affinity, cpumask); + cpumask_copy(irq_data_get_affinity_mask(d), cpumask); spin_unlock_irqrestore(&gic_lock, flags); return IRQ_SET_MASK_OK_NOCOPY; -- 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/