From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752788AbbKQKba (ORCPT ); Tue, 17 Nov 2015 05:31:30 -0500 Received: from www.linutronix.de ([62.245.132.108]:46359 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750913AbbKQKb2 (ORCPT ); Tue, 17 Nov 2015 05:31:28 -0500 Date: Tue, 17 Nov 2015 11:30:46 +0100 (CET) From: Thomas Gleixner To: Qais Yousef cc: linux-kernel@vger.kernel.org, jason@lakedaemon.net, marc.zyngier@arm.com, jiang.liu@linux.intel.com, ralf@linux-mips.org, linux-mips@linux-mips.org Subject: Re: [PATCH 10/14] irqchip/mips-gic: Add a IPI hierarchy domain In-Reply-To: <564B0064.1060202@imgtec.com> Message-ID: References: <1446549181-31788-1-git-send-email-qais.yousef@imgtec.com> <1446549181-31788-11-git-send-email-qais.yousef@imgtec.com> <5644AC66.2070508@imgtec.com> <564B0064.1060202@imgtec.com> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 17 Nov 2015, Qais Yousef wrote: > On 11/16/2015 05:24 PM, Thomas Gleixner wrote: > > > > int ipi_get_hw_irq(int irq) > > { > > struct irq_data *d = irq_get_irq_data(irq); > > return d ? irqd_to_hwirq(d); > > } > > Hmm? > > > > We need cpu as an argument too. Indeed.