diff options
author | Ovidiu Panait <ovidiu.panait@windriver.com> | 2022-02-13 11:09:19 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2022-02-15 15:11:43 +0300 |
commit | 4fef0a7b7ede545774d024d44c5a1cfe3d5bb383 (patch) | |
tree | 3483904cfb6708b931ac0685cb0af8b5b595557b /arch/microblaze | |
parent | 753a29522c87833fd943e260d6d6748462c23d48 (diff) | |
download | u-boot-4fef0a7b7ede545774d024d44c5a1cfe3d5bb383.tar.xz |
microblaze: exception: move privileged instruction exception out of v5 ifdef
The privileged instruction exception seems to have been introduced in
microblaze v7.00 along with MMU support, so having it wrapped in
MICROBLAZE_v5 ifdefs seems incorrect. Move it out of the ifdef, since all
recent microblaze versions support it.
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Link: https://lore.kernel.org/r/20220213080925.1548411-1-ovidiu.panait@windriver.com
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze')
-rw-r--r-- | arch/microblaze/cpu/exception.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/cpu/exception.c b/arch/microblaze/cpu/exception.c index e9476abedb..f60f1fc693 100644 --- a/arch/microblaze/cpu/exception.c +++ b/arch/microblaze/cpu/exception.c @@ -37,10 +37,10 @@ void _hw_exception_handler (void) case 0x5: puts("Divide by zero exception\n"); break; -#ifdef MICROBLAZE_V5 case 0x7: puts("Priviledged or stack protection violation exception\n"); break; +#ifdef MICROBLAZE_V5 case 0x1000: puts("Exception in delay slot\n"); break; |