aboutsummaryrefslogtreecommitdiff
path: root/src/kern/svc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kern/svc.c')
-rw-r--r--src/kern/svc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kern/svc.c b/src/kern/svc.c
index 5527364..ceca5fa 100644
--- a/src/kern/svc.c
+++ b/src/kern/svc.c
@@ -24,6 +24,7 @@ void handle_svc_call(
}
}
+#ifdef ARCH_STM32L4
/* The actual handling for the svc call. Overrides the weak
* symbol on_svc in irq.h */
asm(" .align 2\n"
@@ -49,3 +50,4 @@ asm(" .align 2\n"
" mrsne r12,psp\n"
" stm r12,{r0-r3}\n"
" bx lr\n");
+#endif