blob: 621a19769406c2f25dbd4b04bc578027e6c03958 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/* Written 2003 by Andi Kleen, based on a kernel by Evandro Menezes */
2
3/* Don't use streaming store because it's better when the target
4 ends up in cache. */
5
6/* Could vary the prefetch distance based on SMP/UP */
7
8 .globl copy_page
9 .p2align 4
10copy_page:
Linus Torvalds1da177e2005-04-16 15:20:36 -070011 movl $4096/8,%ecx
12 rep
13 movsq
14 ret