diff options
author | David S. Miller <davem@davemloft.net> | 2007-08-16 01:47:25 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-08-16 01:47:25 -0700 |
commit | cf5adce11743e98739fcb97e76d688f0b0bc2199 (patch) | |
tree | 3cea4d74363a6570bbe5aaf4e723e3c256ffb591 /arch/sparc64/kernel | |
parent | 0fdb7f96d8c27e37ed2ca1ae5a763baf14b8fe0c (diff) | |
download | op-kernel-dev-cf5adce11743e98739fcb97e76d688f0b0bc2199.zip op-kernel-dev-cf5adce11743e98739fcb97e76d688f0b0bc2199.tar.gz |
[SPARC64]: Niagara-2 optimized copies.
The bzero/memset implementation stays the same as Niagara-1.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel')
-rw-r--r-- | arch/sparc64/kernel/head.S | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/head.S b/arch/sparc64/kernel/head.S index ac18bd8..a2652bc 100644 --- a/arch/sparc64/kernel/head.S +++ b/arch/sparc64/kernel/head.S @@ -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 |