Re: [PATCH 19/19] PM: Add empty suspend/resume device irq functions

From: Pavel Machek
Date: Fri Jun 12 2009 - 07:13:36 EST


On Thu 2009-06-11 22:42:09, Rafael J. Wysocki wrote:
> From: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
>
> 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...
Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/