[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] arm64: error: PSR_MODE_EL3t redefined

  • To: xen-devel@xxxxxxxxxxxxx
  • From: Olaf Hering <olaf@xxxxxxxxx>
  • Date: Sat, 1 Feb 2014 17:15:13 +0100
  • Delivery-date: Sat, 01 Feb 2014 16:15:35 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

I'm  seeing build failures on aarch64 during 'make tools' because both
arch/arm64/include/uapi/asm/ptrace.h from the kernel source and
xen/include/public/arch-arm.h from xen-4.4 define PSR_MODE_EL3t with
sightly different strings.

I think the if defined (__XEN_TOOLS__) should be removed from
xen/include/public/arch-arm.h so that userland tools can pickup the
defines from /usr/include. Untested patch below.


diff --git a/xen/include/public/arch-arm.h b/xen/include/public/arch-arm.h
index 7496556..17422e6 100644
--- a/xen/include/public/arch-arm.h
+++ b/xen/include/public/arch-arm.h
@@ -316,7 +316,7 @@ typedef uint64_t xen_callback_t;
-#if defined(__XEN__) || defined(__XEN_TOOLS__)
+#if defined(__XEN__)
 /* PSR bits (CPSR, SPSR)*/

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.