linux-mips
[Top] [All Lists]

Re: [loongson-PATCH-v2 23/23] Hibernation Support in mips system

To: wuzj@lemote.com
Subject: Re: [loongson-PATCH-v2 23/23] Hibernation Support in mips system
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Sat, 30 May 2009 01:12:59 +0900 (JST)
Cc: linux-mips@linux-mips.org, ralf@linux-mips.org, yanh@lemote.com, philippe@cowpig.ca, r0bertz@gentoo.org, zhangfx@lemote.com, loongson-dev@googlegroups.com, der.herr@hofr.at, liujl@lemote.com, erwan@thiscow.com
In-reply-to: <1243530658.19464.5.camel@falcon>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <cover.1243362545.git.wuzj@lemote.com> <1483a7cb0f587bd329ea3ca8d3af2881afadaf5e.1243362545.git.wuzj@lemote.com> <1243530658.19464.5.camel@falcon>
Sender: linux-mips-bounce@linux-mips.org
On Fri, 29 May 2009 01:10:58 +0800, Wu Zhangjin <wuzj@lemote.com> wrote:
> > +LEAF(swsusp_arch_suspend)
> [...]
> > +   PTR_S a0, PT_R4(t0)
> > +   PTR_S a1, PT_R5(t0)
> > +   PTR_S a2, PT_R6(t0)
> 
> ooh, seems miss:
> 
>       PTR_S a3, PT_R7(t0)
> 
> and is there a need to save/restore a4,a5,a6,a7 in 64bit kernel? 

No.  And I think no need to save/resotre a0 to a3 and v1 too.

---
Atsushi Nemoto

<Prev in Thread] Current Thread [Next in Thread>