[PATCH] Add comment about oversized r4000 interrupt vector

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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);


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux