projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc: POWER7 optimised copy_page using VMX and enhanced prefetch
[linux-block.git]
/
arch
/
powerpc
/
lib
/
copypage_64.S
diff --git
a/arch/powerpc/lib/copypage_64.S
b/arch/powerpc/lib/copypage_64.S
index 53dcb6b1b708b666429502067dfe9163a60eb571..9f9434a8526443c482b715b74824f99c99d86f0c 100644
(file)
--- a/
arch/powerpc/lib/copypage_64.S
+++ b/
arch/powerpc/lib/copypage_64.S
@@
-17,7
+17,11
@@
PPC64_CACHES:
.section ".text"
_GLOBAL(copy_page)
+BEGIN_FTR_SECTION
lis r5,PAGE_SIZE@h
+FTR_SECTION_ELSE
+ b .copypage_power7
+ALT_FTR_SECTION_END_IFCLR(CPU_FTR_VMX_COPY)
ori r5,r5,PAGE_SIZE@l
BEGIN_FTR_SECTION
ld r10,PPC64_CACHES@toc(r2)