lkml.org 
[lkml]   [2008]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC][PATCH 1/3] PM: Introduce new top level suspend and hibernation callbacks (rev. 4)
From
Date

On Thu, 2008-03-27 at 02:23 +0100, Rafael J. Wysocki wrote:
> On Thursday, 27 of March 2008, Benjamin Herrenschmidt wrote:
> >
> > > > There is absolutely no point getting a second struct anymore.
> > >
> > > I obviously disagree with that opinion, so please elaborate.
> >
> > Well, what does it bring you ? Why can't it be one struct ? To save
> > space in the data area ?
>
> Mostly, but not only that.
>
> There are users of 'struct pm_ops' that aren't even supposed to define the
> _noirq callbacks (device types and device classes), so I thought it would be
> better to introduce a separate _noirq struct after all.

Make sense... USB has no use of noirq for example.

Ben.




\
 
 \ /
  Last update: 2008-03-27 03:57    [W:0.046 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site