diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2013-03-15 13:15:50 +0000 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-04-11 11:09:26 +0100 |
commit | e8dec6c69a6d0cbf19d120b9ecc03bc637fe23e4 (patch) | |
tree | 5426bb32e6c188abd166a9f8ee3a325a66064280 /xen/include/asm-arm/regs.h | |
parent | 0793e96282f0e81c333edfb8ae8e42801b2f3385 (diff) | |
download | xen-e8dec6c69a6d0cbf19d120b9ecc03bc637fe23e4.tar.gz xen-e8dec6c69a6d0cbf19d120b9ecc03bc637fe23e4.tar.bz2 xen-e8dec6c69a6d0cbf19d120b9ecc03bc637fe23e4.zip |
xen: arm: remove PSR_MODE_MASK from public interface.
This is also defined in sys/ptrace.h on arm64 which breaks the tools build due
to multiple definitions. I expect this is really a bug in the kernel and/or
glibc but we don't really need this symbol in the public headers, at least not
right now, so move it into include/asm instead.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'xen/include/asm-arm/regs.h')
-rw-r--r-- | xen/include/asm-arm/regs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xen/include/asm-arm/regs.h b/xen/include/asm-arm/regs.h index 079c0ca47b..0130b94e75 100644 --- a/xen/include/asm-arm/regs.h +++ b/xen/include/asm-arm/regs.h @@ -1,6 +1,10 @@ #ifndef __ARM_REGS_H__ #define __ARM_REGS_H__ +#define PSR_MODE_MASK 0x1f + +#ifndef __ASSEMBLY__ + #include <xen/types.h> #include <public/xen.h> #include <asm/processor.h> @@ -42,6 +46,8 @@ */ extern register_t *select_user_reg(struct cpu_user_regs *regs, int reg); +#endif + #endif /* __ARM_REGS_H__ */ /* * Local variables: |