mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
virtio: add support for 64 bit features.
Change u32 to u64, and use BIT_ULL and 1ULL everywhere. Note: transports are unchanged, and only set low 32 bit. This guarantees that no transport sets e.g. VERSION_1 by mistake without proper support. Based on patch by Rusty. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
This commit is contained in:
parent
0ffaeadfc4
commit
d025477368
11 changed files with 23 additions and 23 deletions
|
@ -10,7 +10,7 @@
|
|||
|
||||
struct virtio_device {
|
||||
void *dev;
|
||||
u32 features;
|
||||
u64 features;
|
||||
};
|
||||
|
||||
struct virtqueue {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue