projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee68f17
)
microblaze: Add DEBUG option
author
Michal Simek
<monstr@monstr.eu>
Thu, 18 Mar 2010 06:23:04 +0000
(07:23 +0100)
committer
Michal Simek
<monstr@monstr.eu>
Thu, 1 Apr 2010 06:38:23 +0000
(08:38 +0200)
Disable debug option in asm code.
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/hw_exception_handler.S
patch
|
blob
|
history
diff --git
a/arch/microblaze/kernel/hw_exception_handler.S
b/arch/microblaze/kernel/hw_exception_handler.S
index
2b86c03
..
6651bb4
100644
(file)
--- a/
arch/microblaze/kernel/hw_exception_handler.S
+++ b/
arch/microblaze/kernel/hw_exception_handler.S
@@
-334,6
+334,7
@@
not_in_delay_slot:
addk r6, r5, r5; /* << 1 */
addk r6, r6, r6; /* << 2 */
+#ifdef DEBUG
/* counting which exception happen */
lwi r5, r0, 0x200 + TOPHYS(r0_ram)
addi r5, r5, 1
@@
-341,6
+342,7
@@
not_in_delay_slot:
lwi r5, r6, 0x200 + TOPHYS(r0_ram)
addi r5, r5, 1
swi r5, r6, 0x200 + TOPHYS(r0_ram)
+#endif
/* end */
/* Load the HW Exception vector */
lwi r6, r6, TOPHYS(_MB_HW_ExceptionVectorTable)