From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758434AbZBBXtt (ORCPT ); Mon, 2 Feb 2009 18:49:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753308AbZBBXtk (ORCPT ); Mon, 2 Feb 2009 18:49:40 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:38222 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753271AbZBBXtk (ORCPT ); Mon, 2 Feb 2009 18:49:40 -0500 Date: Tue, 3 Feb 2009 00:49:23 +0100 From: Ingo Molnar To: Linus Torvalds Cc: "Rafael J. Wysocki" , Benjamin Herrenschmidt , Linux Kernel Mailing List , Jesse Barnes , Andreas Schwab , Len Brown Subject: Re: PCI PM: Restore standard config registers of all devices early Message-ID: <20090202234923.GA7499@elte.hu> References: <200901261904.n0QJ4Q9c016709@hera.kernel.org> <200902022239.02453.rjw@sisk.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Linus Torvalds wrote: > Ingo: how do we walk over all the interrupt descriptors in todays world? > The whole sparse-vs-nonsparse makes things a bit more complex. this: struct irq_desc *desc; int irq; for_each_irq_desc(i, desc) { ... } should do the trick. Ingo