summaryrefslogtreecommitdiff
path: root/arch/microblaze/cpu/exception.c
diff options
context:
space:
mode:
authorOvidiu Panait <ovidiu.panait@windriver.com>2022-02-13 10:09:20 +0200
committerMichal Simek <michal.simek@xilinx.com>2022-02-15 13:11:43 +0100
commit1669b3d1a0b56178ec8123c48fbf6dabe46b23a4 (patch)
treef6717c0ff3f387073cb6fdec25f92afb13ea7d36 /arch/microblaze/cpu/exception.c
parent4fef0a7b7ede545774d024d44c5a1cfe3d5bb383 (diff)
downloadu-boot-1669b3d1a0b56178ec8123c48fbf6dabe46b23a4.tar.gz
microblaze: exception: migrate MICROBLAZE_V5 to Kconfig
Also, rename it to XILINX_MICROBLAZE0_DELAY_SLOT_EXCEP, since it only covers delay slot exception support. Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Link: https://lore.kernel.org/r/20220213080925.1548411-2-ovidiu.panait@windriver.com Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/cpu/exception.c')
-rw-r--r--arch/microblaze/cpu/exception.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/cpu/exception.c b/arch/microblaze/cpu/exception.c
index f60f1fc693..5601dde5b4 100644
--- a/arch/microblaze/cpu/exception.c
+++ b/arch/microblaze/cpu/exception.c
@@ -40,7 +40,7 @@ void _hw_exception_handler (void)
case 0x7:
puts("Priviledged or stack protection violation exception\n");
break;
-#ifdef MICROBLAZE_V5
+#if CONFIG_IS_ENABLED(XILINX_MICROBLAZE0_DELAY_SLOT_EXCEP)
case 0x1000:
puts("Exception in delay slot\n");
break;