[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Xen-devel] [PATCH v2] xen/drivers/char: Don't require vpl011 for all non-x86 archs
- To: xen-devel@xxxxxxxxxxxxxxxxxxxx
- From: Alistair Francis <alistair.francis@xxxxxxx>
- Date: Mon, 20 May 2019 10:13:15 -0700
- Cc: sstabellini@xxxxxxxxxx, wei.liu2@xxxxxxxxxx, konrad.wilk@xxxxxxxxxx, George.Dunlap@xxxxxxxxxxxxx, ian.jackson@xxxxxxxxxxxxx, tim@xxxxxxx, julien.grall@xxxxxxx, Alistair Francis <alistair.francis@xxxxxxx>, jbeulich@xxxxxxxx, andrew.cooper3@xxxxxxxxxx, alistair23@xxxxxxxxx
- Delivery-date: Mon, 20 May 2019 17:15:11 +0000
- Ironport-sdr: 22Xe879QHw2+nNSPWFO7gmBy0gqI7p005WFEpvFikFqVM9wqNoUS4yh/oCHSaSRQjw5FoaTJvj /+cYFvuqDXynvjoJ35x9WLQFHiPuCUrGm3Kq9fSfc8Hu+TxU4bIlA7UIPD5fUwRb6lM/dgMEBE 2B4isBfA2yryxCyZgPAKeFSt+b2853UMajdi2Ni2UlHdBhdvgGMpjGfg9Js/mgVFNot0bs7+EZ UplruRtNXQpEVWhk9hTIJAUFi6t1Wa7W2fb+LtXCaGu4NfehMiU4Jx0qgBnEPtbz/IVrHRxTtu RhuHO5lhg0m970dH6nI4b84q
- Ironport-sdr: 4I5/b0ch2VvSujOPu8OrAdRNQVjyLpNtVVi/aCyIyOdv/OuE4l+WlmrH1fEzdlCnQrZRoY8lpy uylUWybjCrr0Le45Ikf1sElRb164BCfgrEEbE1Mevd7EjN89vc3D4igMl9kSrSG92Ln5J8whO7 mQTZO8nqZwHECHpdtEAaiaWbUtA9wkZrAKt4ijQH/CYdQTxomZ81i/eBpdhX0hZi0vpSycs9Dy 98vWsdqtl7s4hFOZEQOQJQp4E4BfqE8BfL9pXwbA4TqFXKF4lO+hGgsLY5KaZ0vutuqyTtfFK1 pgc=
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
Make the asm/vpl011.h dependent on the CONFIG_SBSA_VUART_CONSOLE define.
Signed-off-by: Alistair Francis <alistair.francis@xxxxxxx>
---
xen/drivers/char/console.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xen/drivers/char/console.c b/xen/drivers/char/console.c
index 9bbcb0f57a..24287e59cb 100644
--- a/xen/drivers/char/console.c
+++ b/xen/drivers/char/console.c
@@ -36,7 +36,7 @@
#ifdef CONFIG_X86
#include <xen/consoled.h>
#include <asm/guest.h>
-#else
+#elif CONFIG_SBSA_VUART_CONSOLE
#include <asm/vpl011.h>
#endif
--
2.21.0
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|