patch-2.4.23 linux-2.4.23/arch/sh/mm/__clear_user_page-sh4.S
Next file: linux-2.4.23/arch/sh/mm/__copy_user_page-sh4.S
Previous file: linux-2.4.23/arch/sh/lib/udivdi3.c
Back to the patch index
Back to the overall index
- Lines: 50
- Date:
1969-12-31 16:00:00.000000000 -0800
- Orig file:
linux-2.4.22/arch/sh/mm/__clear_user_page-sh4.S
- Orig date:
2001-09-08 12:29:09.000000000 -0700
diff -urN linux-2.4.22/arch/sh/mm/__clear_user_page-sh4.S linux-2.4.23/arch/sh/mm/__clear_user_page-sh4.S
@@ -1,49 +0,0 @@
-/* $Id$
- *
- * __clear_user_page implementation of SuperH
- *
- * Copyright (C) 2001 Niibe Yutaka & Kaz Kojima
- *
- */
-
-/*
- * __clear_user_page
- * @to: P1 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 + 4096
- */
-#include <linux/linkage.h>
-ENTRY(__clear_user_page)
- mov r4,r6
- mov.w .L4096,r0
- 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
-.L4096: .word 4096
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)