Re: [discuss] [PATCH] x86_64: Save registers in saved_context during suspend and hibernation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

> > > Nice. These variables always annoyed me too when looking
> > > at that code.
> > > 
> > > >  	DEFINE(pbe_next, offsetof(struct pbe, next));
> > > >  	BLANK();
> > > > +	DEFINE(saved_context_rbx, offsetof(struct saved_context, rbx));
> > > 
> > > But is there a reason you can't just use a pt_regs and then an array
> > > for the crNs ? 
> > 
> > Hm, I think I can use pt_regs.  I'll try to redo the patch to use it.
> 
> The updated patch (using pt_regs) is appended.

Looks ok to me.
								Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux