summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/purgatory/trampoline.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/purgatory/trampoline.S')
-rw-r--r--arch/powerpc/purgatory/trampoline.S10
1 files changed, 1 insertions, 9 deletions
diff --git a/arch/powerpc/purgatory/trampoline.S b/arch/powerpc/purgatory/trampoline.S
index 4aad9dd10ace..1e1129553fd7 100644
--- a/arch/powerpc/purgatory/trampoline.S
+++ b/arch/powerpc/purgatory/trampoline.S
@@ -12,15 +12,7 @@
* Software Foundation (version 2 of the License).
*/
-#if defined(__LITTLE_ENDIAN__)
-#define STWX_BE stwbrx
-#define LWZX_BE lwbrx
-#elif defined(__BIG_ENDIAN__)
-#define STWX_BE stwx
-#define LWZX_BE lwzx
-#else
-#error no endianness defined!
-#endif
+#include <asm/asm-compat.h>
.machine ppc64
.balign 256
OpenPOWER on IntegriCloud