All of lore.kernel.org
 help / color / mirror / Atom feed
* arm64: error: PSR_MODE_EL3t redefined
@ 2014-02-01 16:15 Olaf Hering
  2014-02-01 17:25 ` Ian Campbell
  0 siblings, 1 reply; 6+ messages in thread
From: Olaf Hering @ 2014-02-01 16:15 UTC (permalink / raw)
  To: xen-devel


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.

Olaf

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;
 
 #endif
 
-#if defined(__XEN__) || defined(__XEN_TOOLS__)
+#if defined(__XEN__)
 
 /* PSR bits (CPSR, SPSR)*/

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-02-03 11:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-01 16:15 arm64: error: PSR_MODE_EL3t redefined Olaf Hering
2014-02-01 17:25 ` Ian Campbell
2014-02-02 18:35   ` Olaf Hering
2014-02-03 10:46     ` Ian Campbell
2014-02-03 10:56       ` Olaf Hering
2014-02-03 11:00         ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.