xen: update ring.h
authorJuergen Gross <jgross@suse.com>
Thu, 28 Apr 2022 07:59:01 +0000 (09:59 +0200)
committerJuergen Gross <jgross@suse.com>
Thu, 19 May 2022 12:21:53 +0000 (14:21 +0200)
commit6fac592cca60dca0b2a524c303c83e958c2003bb
tree6b2ae1c303e684a50dd409fd184d69e327327178
parent888fd787f30dfe959fdd685c422187a428d2cf17
xen: update ring.h

Update include/xen/interface/io/ring.h to its newest version.

Switch the two improper use cases of RING_HAS_UNCONSUMED_RESPONSES() to
XEN_RING_NR_UNCONSUMED_RESPONSES() in order to avoid the nasty
XEN_RING_HAS_UNCONSUMED_IS_BOOL #define.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
drivers/net/xen-netfront.c
include/xen/interface/io/ring.h