diff options
author | Barry Song <barry.song@analog.com> | 2010-01-06 23:11:17 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-03-09 00:30:48 -0500 |
commit | d86bfb1600db38e8387beee0aaab4263cfd728a2 (patch) | |
tree | 95e6f3d77d6dede480d74a7a4b87f2794a5b31fe /arch/blackfin/include/asm/context.S | |
parent | aad16f32284030907b4f105e92e5fb534fd272bc (diff) |
Blackfin: initial XIP support
Signed-off-by: Barry Song <barry.song@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/include/asm/context.S')
-rw-r--r-- | arch/blackfin/include/asm/context.S | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/context.S b/arch/blackfin/include/asm/context.S index 5dffaf582a22..fada8e974a73 100644 --- a/arch/blackfin/include/asm/context.S +++ b/arch/blackfin/include/asm/context.S | |||
@@ -374,3 +374,13 @@ | |||
374 | 374 | ||
375 | (R7:0, P5:0) = [SP++]; | 375 | (R7:0, P5:0) = [SP++]; |
376 | .endm | 376 | .endm |
377 | |||
378 | .macro pseudo_long_call func:req, scratch:req | ||
379 | #ifdef CONFIG_ROMKERNEL | ||
380 | \scratch\().l = \func; | ||
381 | \scratch\().h = \func; | ||
382 | call (\scratch); | ||
383 | #else | ||
384 | call \func; | ||
385 | #endif | ||
386 | .endm | ||