patch-2.4.0-test9 linux/arch/arm/kernel/traps.c
Next file: linux/arch/arm/kernel/via82c505.c
Previous file: linux/arch/arm/kernel/time.c
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Mon Sep 18 15:15:25 2000
- Orig file:
v2.4.0-test8/linux/arch/arm/kernel/traps.c
- Orig date:
Sun Aug 13 09:54:15 2000
diff -u --recursive --new-file v2.4.0-test8/linux/arch/arm/kernel/traps.c linux/arch/arm/kernel/traps.c
@@ -3,12 +3,14 @@
*
* Copyright (C) 1995, 1996 Russell King
* Fragments that appear the same as linux/arch/i386/kernel/traps.c (C) Linus Torvalds
- */
-
-/*
- * 'traps.c' handles hardware exceptions after we have saved some state in
- * 'linux/arch/arm/lib/traps.S'. Mostly a debugging aid, but will probably
- * kill the offending process.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * 'traps.c' handles hardware exceptions after we have saved some state in
+ * 'linux/arch/arm/lib/traps.S'. Mostly a debugging aid, but will probably
+ * kill the offending process.
*/
#include <linux/config.h>
#include <linux/types.h>
@@ -314,7 +316,7 @@
case 2: /* sys_cacheflush */
#ifdef CONFIG_CPU_32
/* r0 = start, r1 = end, r2 = flags */
- cpu_flush_cache_area(regs->ARM_r0, regs->ARM_r1, 1);
+ cpu_cache_clean_invalidate_range(regs->ARM_r0, regs->ARM_r1, 1);
#endif
break;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)