diff mbox series

[3/3] xen/rwlock: Include lib.h

Message ID 20190516000212.13468-3-alistair.francis@wdc.com (mailing list archive)
State New, archived
Headers show
Series [1/3] config.sub: Update config.sub to latest version | expand

Commit Message

Alistair Francis May 16, 2019, 12:02 a.m. UTC
Include lib.h to ensure that ASSERT() is defined.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
---
 xen/include/xen/rwlock.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Jan Beulich May 16, 2019, 10:34 a.m. UTC | #1
>>> On 16.05.19 at 02:02, <alistair.francis@wdc.com> wrote:
> Include lib.h to ensure that ASSERT() is defined.

Similar as for patch 2 - it remains unclear why this is needed (we
know of no build issues) and the Cc list needs widening.

Jan
diff mbox series

Patch

diff --git a/xen/include/xen/rwlock.h b/xen/include/xen/rwlock.h
index 35657c56c4..131537348e 100644
--- a/xen/include/xen/rwlock.h
+++ b/xen/include/xen/rwlock.h
@@ -1,6 +1,7 @@ 
 #ifndef __RWLOCK_H__
 #define __RWLOCK_H__
 
+#include <xen/lib.h>
 #include <xen/spinlock.h>
 
 #include <asm/atomic.h>