lkml.org 
[lkml]   [2009]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@de.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.


\
 
 \ /
  Last update: 2009-06-12 13:35    [W:2.216 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site