microblaze: exception: move unaligned access printfs inside switch case
authorOvidiu Panait <ovidiu.panait@windriver.com>
Sun, 13 Feb 2022 08:09:23 +0000 (10:09 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 15 Feb 2022 12:11:43 +0000 (13:11 +0100)
commit339f489d524e8daa40a4ab0c64bfe65ef30f5fc6
tree82bf3f6fd35de7f94f57db9896de223a54332821
parentee8161f7d182e57ea828f77a6b246c884c70b7cd
microblaze: exception: move unaligned access printfs inside switch case

The unaligned access messages are only valid in the case of an unaligned
data access exception. Do not print them for other types of hw exceptions.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Link: https://lore.kernel.org/r/20220213080925.1548411-5-ovidiu.panait@windriver.com
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/cpu/exception.c