summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/score/cpu/powerpc/rtems/score/cpu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/score/cpu/powerpc/rtems/score/cpu.h b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
index 28f9a25eba..fbebbf643e 100644
--- a/cpukit/score/cpu/powerpc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
@@ -679,7 +679,11 @@ void _BSP_Fatal_error(unsigned int);
#define CPU_STACK_MINIMUM_SIZE (1024*8)
+#if defined(__powerpc64__)
+#define CPU_SIZEOF_POINTER 8
+#else
#define CPU_SIZEOF_POINTER 4
+#endif
/*
* CPU's worst alignment requirement for data types on a byte boundary. This