diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2020-07-10 03:20:21 -0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-08-05 09:30:19 -0400 |
commit | a4235ec06acf05c58081700cda02dcd480d9e9cb (patch) | |
tree | b5179d0d8a489cc38219bdee1186aa8886e04822 /include/linux/overflow.h | |
parent | 5487196878bc926a1ee15069c13aa48b9a894fab (diff) |
virtio: allow __virtioXX, __leXX in config space
Currently all config space fields are of the type __uXX.
This confuses people and some drivers (notably vdpa)
access them using CPU endian-ness - which only
works well for legacy or LE platforms.
Update virtio_cread/virtio_cwrite macros to allow __virtioXX
and __leXX field types. Follow-up patches will convert
config space to use these types.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions