[linux-pm] memcpy() in swsusp (was: Re: [PATCH 2/2] Fix console handling during suspend/resume)

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

 



On Thu, Jul 06, 2006 at 11:18:55PM +0200, Rafael J. Wysocki wrote:
 > On Thursday 06 July 2006 23:07, David Brownell wrote:
 > > 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) ?  :)
 > 
 > Is __memcpy() defined on all architectures?  Eg. ppc?

Seems not.  __constant_memcpy is a gcc built-in though isn't it ?

		Dave

-- 
http://www.codemonkey.org.uk


[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