From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brownell Subject: Re: memcpy() in swsusp (was: Re: [PATCH 2/2] Fix console handling during suspend/resume) Date: Thu, 6 Jul 2006 14:07:55 -0700 Message-ID: <200607061407.56004.david-b@pacbell.net> References: <200607061344.43314.david-b@pacbell.net> <20060706210101.GU13168@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20060706210101.GU13168@redhat.com> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.osdl.org Errors-To: linux-pm-bounces@lists.osdl.org To: Dave Jones Cc: linux-pm@lists.osdl.org, Nigel Cunningham , Pavel Machek List-Id: linux-pm@vger.kernel.org On Thursday 06 July 2006 2:01 pm, Dave Jones wrote: > Why not just use __memcpy instead? Which should be safe on all archs > to do the simplest possible memcpy. Or __constant_memcpy(...PAGE_SIZE) ? :) Good idea. - Dave