[xtensa-cvscommit] linux/arch/xtensa/kernel handlers.S,1.15,1.16
Brought to you by:
zankel
|
From: <ma...@us...> - 2003-03-29 00:08:11
|
Update of /cvsroot/xtensa/linux/arch/xtensa/kernel In directory sc8-pr-cvs1:/tmp/cvs-serv5529 Modified Files: handlers.S Log Message: Debug exception handler must examine EPS[DEBUGLEVEL], not simply PS. Index: handlers.S =================================================================== RCS file: /cvsroot/xtensa/linux/arch/xtensa/kernel/handlers.S,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** handlers.S 20 Mar 2003 20:45:37 -0000 1.15 --- handlers.S 29 Mar 2003 00:08:06 -0000 1.16 *************** *** 2845,2849 **** handle_debug: ! rsr a0, PS // Check if in user or kernel mode wsr a2, DEPC // preserve a2 so we can use it bbsi.l a0, PS_EXCM_SHIFT, 3f // jump if in exception mode --- 2845,2849 ---- handle_debug: ! rsr a0, EPS + XCHAL_DEBUGLEVEL // Check exception vs. user vs. kernel mode wsr a2, DEPC // preserve a2 so we can use it bbsi.l a0, PS_EXCM_SHIFT, 3f // jump if in exception mode |