| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH] Add comment about oversized r4000 interrupt vector |
| From: | Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de> |
| Date: | Sun, 21 Nov 2004 17:24:58 +0100 |
| Cc: | ralf@linux-mips.org |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.6i |
Hello All,
to prevent it to get lost again, this adds an explanatory comment
to the r4000 exception vector init.
Thiemo
Index: arch/mips/kernel/traps.c
===================================================================
RCS file: /home/cvs/linux/arch/mips/kernel/traps.c,v
retrieving revision 1.201
diff -u -p -r1.201 traps.c
--- arch/mips/kernel/traps.c 11 Nov 2004 03:06:01 -0000 1.201
+++ arch/mips/kernel/traps.c 20 Nov 2004 16:46:40 -0000
@@ -1026,6 +1027,7 @@ void __init trap_init(void)
set_except_vector(24, handle_mcheck);
if (cpu_has_vce)
+ /* Special exception: R4[04]00 uses also the divec space. */
memcpy((void *)(CAC_BASE + 0x180), &except_vec3_r4000, 0x100);
else if (cpu_has_4kex)
memcpy((void *)(CAC_BASE + 0x180), &except_vec3_generic, 0x80);
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] Improve ramdisk support, Thiemo Seufer |
|---|---|
| Next by Date: | [PATCH] Improve o32 syscall handling, Thiemo Seufer |
| Previous by Thread: | [PATCH] Canonicalize mmap addresses to unsigned long, Thiemo Seufer |
| Next by Thread: | Re: [PATCH] Add comment about oversized r4000 interrupt vector, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |