While this has been there forever, it's not clear to me what it was
(thought to be) needed for. In fact, all three instances of the header
already exclude their entire bodies when __ASSEMBLY__ was defined.
Hence, with no other assembly files including this header, we can at the
same time get rid of those conditionals.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
#ifndef __ARM_TYPES_H__
#define __ARM_TYPES_H__
-#ifndef __ASSEMBLY__
-
-
typedef __signed__ char __s8;
typedef unsigned char __u8;
#define PRIregister "016lx"
#endif
-#endif /* __ASSEMBLY__ */
-
#endif /* __ARM_TYPES_H__ */
/*
* Local variables:
#ifndef __RISCV_TYPES_H__
#define __RISCV_TYPES_H__
-#ifndef __ASSEMBLY__
-
typedef __signed__ char __s8;
typedef unsigned char __u8;
#endif
-#endif /* __ASSEMBLY__ */
-
#endif /* __RISCV_TYPES_H__ */
/*
* Local variables:
#ifndef __X86_TYPES_H__
#define __X86_TYPES_H__
-#ifndef __ASSEMBLY__
-
typedef __signed__ char __s8;
typedef unsigned char __u8;
#define INVALID_PADDR (~0UL)
#define PRIpaddr "016lx"
-#endif /* __ASSEMBLY__ */
-
#endif /* __X86_TYPES_H__ */
return;
}
printf("#include <xen/config.h>\n");
- printf("#include <asm/types.h>\n");
printf("#if BITS_PER_LONG == 64 && !defined(SYMBOLS_ORIGIN)\n");
printf("#define PTR .quad\n");
printf("#define ALGN .align 8\n");