common/sfc_efx/base: add virtio build dependency
authorVijay Kumar Srivastava <vsrivast@xilinx.com>
Tue, 16 Mar 2021 08:58:27 +0000 (11:58 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Mar 2021 11:39:41 +0000 (12:39 +0100)
Add EFSYS_HAS_UINT64 build dependency on EFSYS_OPT_VIRTIO.
virtio features are represented as bitmask in 64-bit unsigned
integer.

Signed-off-by: Vijay Kumar Srivastava <vsrivast@xilinx.com>
Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
drivers/common/sfc_efx/base/efx_check.h

index 86a6d92..66b38ee 100644 (file)
 # if !EFSYS_OPT_RIVERHEAD
 #  error "VIRTIO requires RIVERHEAD"
 # endif
+# if !EFSYS_HAS_UINT64
+#  error "VIRTIO requires UINT64"
+# endif
 #endif /* EFSYS_OPT_VIRTIO */
 
 #endif /* _SYS_EFX_CHECK_H */