From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: Re: [patch 18/26] xen: Use the proper irq functions Date: Mon, 24 Feb 2014 14:24:36 +0000 Message-ID: <530B5624.8080309__8251.41225145689$1393251978$gmane$org@citrix.com> References: <20140223212703.511977310@linutronix.de> <20140223212738.222412125@linutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WHwSX-0003Gt-KR for xen-devel@lists.xenproject.org; Mon, 24 Feb 2014 14:24:41 +0000 In-Reply-To: <20140223212738.222412125@linutronix.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Thomas Gleixner Cc: Peter Zijlstra , Xen , Ingo Molnar , LKML List-Id: xen-devel@lists.xenproject.org On 23/02/14 21:40, Thomas Gleixner wrote: > I really can't understand why people keep adding irq_desc abuse. We > have enough proper interfaces. Delete another 14 lines of hackery. generic_handler_irq() already tests for !desc so use this instead of generic_handle_irq_desc(). Use irq_get_irq_data() instead of desc->irq_data. Otherwise, Reviewed-by: David Vrabel David