Title: [6931] trunk/arch/blackfin/include/asm/context.S: Store the actual value of IPEND, not just the address, and demote the
- Revision
- 6931
- Author
- rgetz
- Date
- 2009-07-06 21:47:14 -0500 (Mon, 06 Jul 2009)
Log Message
Store the actual value of IPEND, not just the address, and demote the
ifdef, so we get this anytime we are debugging the kernel - not just
when we are doing KGDB.
Modified Paths
Diff
Modified: trunk/arch/blackfin/include/asm/context.S (6930 => 6931)
--- trunk/arch/blackfin/include/asm/context.S 2009-07-06 15:23:31 UTC (rev 6930)
+++ trunk/arch/blackfin/include/asm/context.S 2009-07-07 02:47:14 UTC (rev 6931)
@@ -223,9 +223,10 @@
[--sp] = RETN;
[--sp] = RETE;
[--sp] = SEQSTAT;
-#ifdef CONFIG_KGDB
- r1.l = lo(IPEND);
- r1.h = hi(IPEND);
+#ifdef CONFIG_DEBUG_KERNEL
+ p1.l = lo(IPEND);
+ p1.h = hi(IPEND);
+ r1 = [p1];
[--sp] = r1;
#else
[--sp] = r0; /* Skip IPEND as well. */
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits