#endif
/* XXX: This may be wrong for 64-bit ILP32 hosts. */
-typedef void * a_host_reg;
+typedef void * host_reg_t;
#ifdef CONFIG_BSD
typedef struct __sFILE FILE;
/* The return address may point to the start of the next instruction.
Subtracting one gets us the call instruction itself. */
-#if defined(__s390__)
+#if defined(__s390__) && !defined(__s390x__)
# define GETPC() ((void*)(((unsigned long)__builtin_return_address(0) & 0x7fffffffUL) - 1))
#elif defined(__arm__)
/* Thumb return addresses have the low bit set, so we need to subtract two.