summaryrefslogtreecommitdiff
path: root/arch/powerpc/xmon/spr_access.S
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2018-07-05 16:24:57 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2018-07-30 22:48:16 +1000
commitec0c464cdbf38bf6ddabec8bfa595bd421cab203 (patch)
treeb9e8e5c9b489fff773b505294f8c25e1d4dfdacd /arch/powerpc/xmon/spr_access.S
parent36a7eeaff7d06cef253c8df6dfe363bfc4a553f8 (diff)
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/xmon/spr_access.S')
-rw-r--r--arch/powerpc/xmon/spr_access.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/xmon/spr_access.S b/arch/powerpc/xmon/spr_access.S
index 4099cbcddaaa..720a52afdd58 100644
--- a/arch/powerpc/xmon/spr_access.S
+++ b/arch/powerpc/xmon/spr_access.S
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0 */
#include <asm/ppc_asm.h>
+#include <asm/asm-compat.h>
/* unsigned long xmon_mfspr(sprn, default_value) */
_GLOBAL(xmon_mfspr)