diff options
Diffstat (limited to 'arch/powerpc/lib/copyuser_64.S')
-rw-r--r-- | arch/powerpc/lib/copyuser_64.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/lib/copyuser_64.S b/arch/powerpc/lib/copyuser_64.S index 578b625d6a3c..773d38f90aaa 100644 --- a/arch/powerpc/lib/copyuser_64.S +++ b/arch/powerpc/lib/copyuser_64.S | |||
@@ -11,6 +11,12 @@ | |||
11 | 11 | ||
12 | .align 7 | 12 | .align 7 |
13 | _GLOBAL(__copy_tofrom_user) | 13 | _GLOBAL(__copy_tofrom_user) |
14 | BEGIN_FTR_SECTION | ||
15 | nop | ||
16 | FTR_SECTION_ELSE | ||
17 | b __copy_tofrom_user_power7 | ||
18 | ALT_FTR_SECTION_END_IFCLR(CPU_FTR_VMX_COPY) | ||
19 | _GLOBAL(__copy_tofrom_user_base) | ||
14 | /* first check for a whole page copy on a page boundary */ | 20 | /* first check for a whole page copy on a page boundary */ |
15 | cmpldi cr1,r5,16 | 21 | cmpldi cr1,r5,16 |
16 | cmpdi cr6,r5,4096 | 22 | cmpdi cr6,r5,4096 |