summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/lib/copy_page.S
blob: 621a19769406c2f25dbd4b04bc578027e6c03958 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Written 2003 by Andi Kleen, based on a kernel by Evandro Menezes */
	
/* Don't use streaming store because it's better when the target
   ends up in cache. */
	    
/* Could vary the prefetch distance based on SMP/UP */

	.globl copy_page
	.p2align 4
copy_page:
	movl $4096/8,%ecx
	rep 
	movsq 
	ret