aboutsummaryrefslogtreecommitdiff
path: root/lib/trampoline_setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/trampoline_setup.c')
-rw-r--r--lib/trampoline_setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/trampoline_setup.c b/lib/trampoline_setup.c
index 1b139767d46e..e0765b16b0b0 100644
--- a/lib/trampoline_setup.c
+++ b/lib/trampoline_setup.c
@@ -20,7 +20,7 @@ extern void __clear_cache(void* start, void* end);
* and then jumps to the target nested function.
*/
-#if __ppc__
+#if __ppc__ && !defined(__powerpc64__)
void __trampoline_setup(uint32_t* trampOnStack, int trampSizeAllocated,
const void* realFunc, void* localsPtr)
{
@@ -44,4 +44,4 @@ void __trampoline_setup(uint32_t* trampOnStack, int trampSizeAllocated,
/* clear instruction cache */
__clear_cache(trampOnStack, &trampOnStack[10]);
}
-#endif /* __ppc__ */
+#endif /* __ppc__ && !defined(__powerpc64__) */