[SPARC64]: Niagara-2 optimized copies.
The bzero/memset implementation stays the same as Niagara-1. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -501,7 +501,7 @@ niagara_tlb_fixup:
|
||||
cmp %g1, SUN4V_CHIP_NIAGARA1
|
||||
be,pt %xcc, niagara_patch
|
||||
cmp %g1, SUN4V_CHIP_NIAGARA2
|
||||
be,pt %xcc, niagara_patch
|
||||
be,pt %xcc, niagara2_patch
|
||||
nop
|
||||
|
||||
call generic_patch_copyops
|
||||
@@ -512,6 +512,15 @@ niagara_tlb_fixup:
|
||||
nop
|
||||
|
||||
ba,a,pt %xcc, 80f
|
||||
niagara2_patch:
|
||||
call niagara2_patch_copyops
|
||||
nop
|
||||
call niagara_patch_bzero
|
||||
nop
|
||||
call niagara2_patch_pageops
|
||||
nop
|
||||
|
||||
ba,a,pt %xcc, 80f
|
||||
|
||||
niagara_patch:
|
||||
call niagara_patch_copyops
|
||||
|
Reference in New Issue
Block a user