[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090612113218.GB6355@osiris.boeblingen.de.ibm.com>
Date: Fri, 12 Jun 2009 13:32:18 +0200
From: Heiko Carstens <heiko.carstens@...ibm.com>
To: Pavel Machek <pavel@....cz>
Cc: "Rafael J. Wysocki" <rjw@...k.pl>,
Linux PM List <linux-pm@...ts.linux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Cornelia Huck <cornelia.huck@...ibm.com>,
Magnus Damm <damm@...l.co.jp>,
Greg Kroah-Hartman <gregkh@...e.de>,
Wu Fengguang <fengguang.wu@...el.com>,
Alan Stern <stern@...land.harvard.edu>,
Sergio Luis <sergio@...ces.uece.br>,
Lauro Salmito <laurosalmito@...il.com>,
Jaswinder Singh Rajput <jaswinder@...nel.org>,
Ingo Molnar <mingo@...e.hu>,
Nigel Cunningham <nigel@...onice.net>
Subject: Re: [PATCH 19/19] PM: Add empty suspend/resume device irq functions
On Fri, Jun 12, 2009 at 01:13:17PM +0200, Pavel Machek wrote:
> On Thu 2009-06-11 22:42:09, Rafael J. Wysocki wrote:
> > From: Heiko Carstens <heiko.carstens@...ibm.com>
> >
> > git commit 0a0c5168 "PM: Introduce functions for suspending and resuming
> > device interrupts" introduced some helper functions. However these
> > functions are only available for architectures which support
> > GENERIC_HARDIRQS.
>
> I believe architectures that do not use GENERIC_HARDIRQs should just
> provide the empty functions themselves.
>
> If we want to help them, perhaps few attribute((weak)) functions in
> the core are the way to go...
We can still do that when there actually is an architecture that doesn't
support GENERIC_HARDIRQs _and_ needs non-empty functions.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists