From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751307Ab0CSL1T (ORCPT ); Fri, 19 Mar 2010 07:27:19 -0400 Received: from smtp.citrix.com ([66.165.176.89]:29112 "EHLO SMTP.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750855Ab0CSL1S (ORCPT ); Fri, 19 Mar 2010 07:27:18 -0400 X-IronPort-AV: E=Sophos;i="4.51,273,1267419600"; d="scan'208";a="7620563" Subject: [GITPULL+PATCH 0/2 v3] irq: move some interrupt arch_* functions into struct irq_chip. From: Ian Campbell To: CC: Yinghai Lu , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Jeremy Fitzhardinge , Benjamin Herrenschmidt , Paul Mackerras , "x86@kernel.org" , "linuxppc-dev@ozlabs.org" , Paul Mundt , , Ian Campbell Content-Type: text/plain; charset="UTF-8" Organization: Citrix Systems, Inc. Date: Fri, 19 Mar 2010 11:27:12 +0000 Message-ID: <1268998032.10129.44653.camel@zakaz.uk.xensource.com> MIME-Version: 1.0 X-Mailer: Evolution 2.28.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This small series ensures that struct irq_desc->chip_data is available for alternative irq_chip implementations. Since v2: pass x86_init_chip_data as a argument to irq_to_desc_alloc_node instead of calling in the arch code in order to get correct locking wrt the core code. Small impact on the SH arch code which is the only other user outside x86 and powerpc. Since v1: dropped the renaming portion of the series since it was basically wrong, the functions I'd implicated as ioapic specific are not at all. Ian. The following changes since commit 1ebbdcc83e75697c0d75eb091df172b7d93c84c1: Ingo Molnar (1): Merge branch 'perf/urgent' are available in the git repository at: git://xenbits.xensource.com/people/ianc/linux-2.6.git for-x86/irq Ian Campbell (2): irq: move some interrupt arch_* functions into struct irq_chip. x86: irq_desc->chip_data is always correct whether or not SPARSE_IRQ is enabled. arch/powerpc/kernel/irq.c | 4 +- arch/sh/kernel/cpu/irq/ipr.c | 2 +- arch/x86/include/asm/hw_irq.h | 11 ++++++- arch/x86/kernel/apic/io_apic.c | 67 ++++++++++++++++++++++++++++++++-------- arch/x86/kernel/uv_irq.c | 5 +++ arch/x86/lguest/boot.c | 2 +- drivers/sh/intc.c | 7 ++-- drivers/xen/events.c | 2 +- include/linux/interrupt.h | 2 +- include/linux/irq.h | 16 ++++++--- kernel/irq/handle.c | 15 ++++++--- kernel/irq/numa_migrate.c | 12 ++++++- kernel/softirq.c | 3 +- 13 files changed, 111 insertions(+), 37 deletions(-)