Title: [6767] trunk/arch/blackfin/mach-common/entry.S: Add a few comments, and use bit definitions rather than hard coded bit
- Revision
- 6767
- Author
- rgetz
- Date
- 2009-06-17 10:18:18 -0500 (Wed, 17 Jun 2009)
Log Message
Add a few comments, and use bit definitions rather than hard coded bit
numbers.
Modified Paths
Diff
Modified: trunk/arch/blackfin/mach-common/entry.S (6766 => 6767)
--- trunk/arch/blackfin/mach-common/entry.S 2009-06-17 12:36:56 UTC (rev 6766)
+++ trunk/arch/blackfin/mach-common/entry.S 2009-06-17 15:18:18 UTC (rev 6767)
@@ -342,9 +342,11 @@
r6 = retx;
[p5 + PDA_RETX] = r6;
#endif
+ /* Save the state of single stepping */
r6 = SYSCFG;
[p5 + PDA_SYSCFG] = r6;
- BITCLR(r6, 0);
+ /* Clear it while we handle the exception in IRQ5 mode */
+ BITCLR(r6, SYSCFG_SSSTEP_P);
SYSCFG = r6;
/* Disable all interrupts, but make sure level 5 is enabled so
@@ -367,7 +369,7 @@
* exception. This is a unrecoverable event, so crash.
* Note: this cannot be ENTRY() as we jump here with "if cc jump" ...
*/
-_double_fault:
+ENTRY(_double_fault)
/* Turn caches & protection off, to ensure we don't get any more
* double exceptions
*/
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits