Gitweb: http://git.kernel.org/linus/708e7153d6fc4d2e5fe15c6ccc5d2907fe8a9c8d Commit: 708e7153d6fc4d2e5fe15c6ccc5d2907fe8a9c8d Parent: ee68f1745e7734a55c8bf680f6f464205f1f15da Author: Michal Simek <monstr@monstr.eu> AuthorDate: Thu Mar 18 07:23:04 2010 +0100 Committer: Michal Simek <monstr@monstr.eu> CommitDate: Thu Apr 1 08:38:23 2010 +0200 microblaze: Add DEBUG option Disable debug option in asm code. Signed-off-by: Michal Simek <monstr@monstr.eu> --- arch/microblaze/kernel/hw_exception_handler.S | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/microblaze/kernel/hw_exception_handler.S b/arch/microblaze/kernel/hw_exception_handler.S index 2b86c03..6651bb4 100644 --- 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) -- To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
