Replacing memcpy(dest,src,PAGE_SIZE) with copy_page(dest,src) in arch/i386/mm/init.c
Subsystems (2)
PATCH 1/1 Replacing memcpy(dest,src,PAGE_SIZE) with copy_page(dest,src) in arch/i386/mm/init.c
Hi,
Replacing memcpy(dest,src,PAGE_SIZE) with copy_page(dest,src) in arch/i386/mm/init.c.
Signed-off-by Shani Moideen <[email protected]>
----
arch/i386/mm/init.c +1 -1
@@ -397,7 +397,7 @@ char __nosavedata swsusp_pg_dir[PAGE_SIZE]static inline void save_pg_dir (void ) { -memcpy (swsusp_pg_dir, swapper_pg_dir,PAGE_SIZE ); +copy_page (swsusp_pg_dir, swapper_pg_dir); }#else static inline void save_pg_dir (void )
Signature · 8 lines
Regards, Shani -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 12 lines · Shani Moideen
Hi,
Replacingmemcpy(dest,src,PAGE_SIZE)withcopy_page(dest,src)inarch/i386/mm/init.c.Signed-off-by Shani Moideen <[email protected]>----
arch/i386/mm/init.c +0
-0
arch/i386/mm/init.c char __nosavedata swsusp_pg_dir[PAGE_SIZE] · line 403
Quoted 8 lines
arch/i386/mm/init.c +1
-1@@ -397,7 +397,7 @@ char __nosavedata swsusp_pg_dir[PAGE_SIZE]static inline void save_pg_dir (void ) { -memcpy (swsusp_pg_dir, swapper_pg_dir,PAGE_SIZE ); +copy_page (swsusp_pg_dir, swapper_pg_dir); }#else static inline void save_pg_dir (void )
ACK.
Signature · 6 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html _______________________________________________ Kernel-janitors mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors