mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
oot build tends to help uncover bugs so it's worth keeping around, as long as it's low effort. add stubs for a couple of macros virtio gained recently, and disable vdpa in the test build. Message-ID: <33968faa7994b86d1f78057358a50b8f460c7a23.1764873799.git.mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
11 lines
223 B
C
11 lines
223 B
C
#include <linux/bug.h>
|
|
#include <linux/string.h>
|
|
#include <linux/virtio_features.h>
|
|
|
|
#ifndef VIRTIO_FEATURES_BITS
|
|
#define VIRTIO_FEATURES_BITS 128
|
|
#endif
|
|
#ifndef VIRTIO_U64
|
|
#define VIRTIO_U64(b) ((b) >> 6)
|
|
#endif
|