[Xen-devel] [PATCH for-next v2 4/9] x86: include xen/lib.h in guest/hypercall.h

Wei Liu posted 9 patches 6 years, 1 month ago
There is a newer version of this series
[Xen-devel] [PATCH for-next v2 4/9] x86: include xen/lib.h in guest/hypercall.h
Posted by Wei Liu 6 years, 1 month ago
We need ASSERT_UNREACHABLE.

Signed-off-by: Wei Liu <liuwe@microsoft.com>
---
 xen/include/asm-x86/guest/hypercall.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/xen/include/asm-x86/guest/hypercall.h b/xen/include/asm-x86/guest/hypercall.h
index c9deca6ffc..d0d2f5022d 100644
--- a/xen/include/asm-x86/guest/hypercall.h
+++ b/xen/include/asm-x86/guest/hypercall.h
@@ -182,6 +182,8 @@ static inline long xen_hypercall_set_evtchn_upcall_vector(
 
 #else /* CONFIG_XEN_GUEST */
 
+#include <xen/lib.h>
+
 #include <public/sched.h>
 
 static inline void xen_hypercall_console_write(
-- 
2.20.1


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [Xen-devel] [PATCH for-next v2 4/9] x86: include xen/lib.h in guest/hypercall.h
Posted by Roger Pau Monné 6 years ago
On Mon, Sep 30, 2019 at 04:00:38PM +0100, Wei Liu wrote:
> We need ASSERT_UNREACHABLE.
> 
> Signed-off-by: Wei Liu <liuwe@microsoft.com>

Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>

Thanks.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel