From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755986Ab0JAUgk (ORCPT ); Fri, 1 Oct 2010 16:36:40 -0400 Received: from www.tglx.de ([62.245.132.106]:34212 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753050Ab0JAUgi (ORCPT ); Fri, 1 Oct 2010 16:36:38 -0400 Date: Fri, 1 Oct 2010 22:36:17 +0200 (CEST) From: Thomas Gleixner To: Yinghai Lu cc: LKML , linux-arch@vger.kernel.org, Linus Torvalds , Andrew Morton , x86@kernel.org, Peter Zijlstra , Benjamin Herrenschmidt , Paul Mundt , Russell King , David Woodhouse , Jesse Barnes , Grant Likely , "Eric W. Biederman" Subject: Re: [patch 14/47] genirq: Implement a sane sparse_irq allocator In-Reply-To: <4CA57173.5060803@kernel.org> Message-ID: References: <20100930221351.682772535@linutronix.de> <20100930221739.858896807@linutronix.de> <4CA57173.5060803@kernel.org> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 30 Sep 2010, Yinghai Lu wrote: > On 09/30/2010 04:15 PM, Thomas Gleixner wrote: > > +static inline int > > +irq_alloc_desc_at(unsigned int at, int node) > > +{ > > + return irq_alloc_descs(at, 0, 1, node); > > need to change to > > return irq_alloc_descs(at, at, 1, node); Good point. Fixed. Thanks, tglx