]> git.sur5r.net Git - u-boot/blobdiff - arch/microblaze/include/asm/asm.h
Merge branch 'master' of git://git.denx.de/u-boot-video
[u-boot] / arch / microblaze / include / asm / asm.h
index ce9bb8a8d66683aa1475454c9c78438451a12a8e..11f3dd0f0ec026acba812efffc8351114bf2a334 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Michal  SIMEK <monstr@monstr.eu>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /* FSL macros */
 #define R14(val) \
        __asm__ __volatile__ ("addi %0, r14, 0":"=r" (val));
 
+/* get return address from interrupt */
+#define R17(val) \
+       __asm__ __volatile__ ("addi %0, r17, 0" : "=r" (val));
+
 #define NOP    __asm__ __volatile__ ("nop");
 
 /* use machine status registe USE_MSR_REG */