diff options
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 | ||