diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2018-07-05 19:24:57 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-07-30 15:48:16 +0300 |
commit | ec0c464cdbf38bf6ddabec8bfa595bd421cab203 (patch) | |
tree | b9e8e5c9b489fff773b505294f8c25e1d4dfdacd /arch/powerpc/purgatory | |
parent | 36a7eeaff7d06cef253c8df6dfe363bfc4a553f8 (diff) | |
download | linux-ec0c464cdbf38bf6ddabec8bfa595bd421cab203.tar.xz |
powerpc: move ASM_CONST and stringify_in_c() into asm-const.h
This patch moves ASM_CONST() and stringify_in_c() into
dedicated asm-const.h, then cleans all related inclusions.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
[mpe: asm-compat.h should include asm-const.h]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/purgatory')
-rw-r--r-- | arch/powerpc/purgatory/trampoline.S | 10 |
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 |