diff options
author | Wolfgang Denk <wd@denx.de> | 2010-09-07 21:46:14 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-09-07 21:46:14 +0200 |
commit | 6050c754b0f06c7b2c867cb9fd279498bc89c393 (patch) | |
tree | 4061d819e846423fdff35483253fbe2dd439763e /arch/nios2/include/asm | |
parent | 67bd94148e4a728379f7c748f5e101612a92651a (diff) | |
parent | 7a6a7d10e6b96ab4a5c0d8852802ec52be2b582e (diff) |
Merge branch 'next' of git://git.denx.de/u-boot-nios
Diffstat (limited to 'arch/nios2/include/asm')
-rw-r--r-- | arch/nios2/include/asm/system.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/nios2/include/asm/system.h b/arch/nios2/include/asm/system.h index bb03ca5316..086d92bb0c 100644 --- a/arch/nios2/include/asm/system.h +++ b/arch/nios2/include/asm/system.h @@ -56,4 +56,9 @@ ((flags & NIOS2_STATUS_PIE_MSK) == 0x0); \ }) +/* indirect call to go beyond 256MB limitation of toolchain */ +#define nios2_callr(addr) __asm__ __volatile__ ( \ + "callr %0" \ + : : "r" (addr)) + #endif /* __ASM_NIOS2_SYSTEM_H */ |