patch-2.4.4 linux/arch/ia64/lib/flush.S
Next file: linux/arch/ia64/lib/idiv64.S
Previous file: linux/arch/ia64/lib/do_csum.S
Back to the patch index
Back to the overall index
- Lines: 45
- Date:
Thu Apr 5 12:51:47 2001
- Orig file:
v2.4.3/linux/arch/ia64/lib/flush.S
- Orig date:
Thu Jan 4 12:50:17 2001
diff -u --recursive --new-file v2.4.3/linux/arch/ia64/lib/flush.S linux/arch/ia64/lib/flush.S
@@ -1,30 +1,25 @@
/*
* Cache flushing routines.
*
- * Copyright (C) 1999-2000 Hewlett-Packard Co
- * Copyright (C) 1999-2000 David Mosberger-Tang <davidm@hpl.hp.com>
+ * Copyright (C) 1999-2001 Hewlett-Packard Co
+ * Copyright (C) 1999-2001 David Mosberger-Tang <davidm@hpl.hp.com>
*/
#include <asm/asmmacro.h>
#include <asm/page.h>
- .text
- .psr abi64
- .psr lsb
- .lsb
-
/*
* flush_icache_range(start,end)
* Must flush range from start to end-1 but nothing else (need to
* be careful not to touch addresses that may be unmapped).
*/
GLOBAL_ENTRY(flush_icache_range)
- UNW(.prologue)
+ .prologue
alloc r2=ar.pfs,2,0,0,0
sub r8=in1,in0,1
;;
shr.u r8=r8,5 // we flush 32 bytes per iteration
- UNW(.save ar.lc, r3)
- mov r3=ar.lc // save ar.lc
+ .save ar.lc, r3
+ mov r3=ar.lc // save ar.lc
;;
.body
@@ -38,7 +33,7 @@
sync.i
;;
srlz.i
- ;;
+ ;;
mov ar.lc=r3 // restore ar.lc
br.ret.sptk.many rp
END(flush_icache_range)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)