aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/mm/clear_page.S
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-11-08 17:01:42 +0900
committerPaul Mundt <lethal@linux-sh.org>2007-11-08 17:01:42 +0900
commit541c54773173d95c8e99a7378a5bb63125c297f1 (patch)
tree59270b4498d0502f778e26978865e1e8c6eddc54 /arch/sh/mm/clear_page.S
parent6d1c76d4e76ef72fce5a7169430ab8f9a68d7924 (diff)
parentaf39c16bd843ee8bde495c8ccb95a5ca209f3051 (diff)
Merge branch 'page_colouring_despair'
Diffstat (limited to 'arch/sh/mm/clear_page.S')
-rw-r--r--arch/sh/mm/clear_page.S45
1 files changed, 0 insertions, 45 deletions
diff --git a/arch/sh/mm/clear_page.S b/arch/sh/mm/clear_page.S
index 8a706131e52..7a7c81ee3f0 100644
--- a/arch/sh/mm/clear_page.S
+++ b/arch/sh/mm/clear_page.S
@@ -150,48 +150,3 @@ ENTRY(__clear_user)
.long 8b, .Lbad_clear_user
.long 9b, .Lbad_clear_user
.previous
-
-#if defined(CONFIG_CPU_SH4)
-/*
- * __clear_user_page
- * @to: P3 address (with same color)
- * @orig_to: P1 address
- *
- * void __clear_user_page(void *to, void *orig_to)
- */
-
-/*
- * r0 --- scratch
- * r4 --- to
- * r5 --- orig_to
- * r6 --- to + PAGE_SIZE
- */
-ENTRY(__clear_user_page)
- mov.l .Lpsz,r0
- mov r4,r6
- add r0,r6
- mov #0,r0
- !
-1: ocbi @r5
- add #32,r5
- movca.l r0,@r4
- mov r4,r1
- add #32,r4
- mov.l r0,@-r4
- mov.l r0,@-r4
- mov.l r0,@-r4
- mov.l r0,@-r4
- mov.l r0,@-r4
- mov.l r0,@-r4
- mov.l r0,@-r4
- add #28,r4
- cmp/eq r6,r4
- bf/s 1b
- ocbwb @r1
- !
- rts
- nop
-.Lpsz: .long PAGE_SIZE
-
-#endif
-