mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 08:00:52 +07:00
vringh: 64 bit features
Pass u64 everywhere. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
8dc32b292d
commit
b97a8a9006
@ -577,7 +577,7 @@ static inline int xfer_to_user(void *dst, void *src, size_t len)
|
||||
* Returns an error if num is invalid: you should check pointers
|
||||
* yourself!
|
||||
*/
|
||||
int vringh_init_user(struct vringh *vrh, u32 features,
|
||||
int vringh_init_user(struct vringh *vrh, u64 features,
|
||||
unsigned int num, bool weak_barriers,
|
||||
struct vring_desc __user *desc,
|
||||
struct vring_avail __user *avail,
|
||||
@ -836,7 +836,7 @@ static inline int xfer_kern(void *src, void *dst, size_t len)
|
||||
*
|
||||
* Returns an error if num is invalid.
|
||||
*/
|
||||
int vringh_init_kern(struct vringh *vrh, u32 features,
|
||||
int vringh_init_kern(struct vringh *vrh, u64 features,
|
||||
unsigned int num, bool weak_barriers,
|
||||
struct vring_desc *desc,
|
||||
struct vring_avail *avail,
|
||||
|
@ -105,7 +105,7 @@ struct vringh_kiov {
|
||||
#define VRINGH_IOV_ALLOCATED 0x8000000
|
||||
|
||||
/* Helpers for userspace vrings. */
|
||||
int vringh_init_user(struct vringh *vrh, u32 features,
|
||||
int vringh_init_user(struct vringh *vrh, u64 features,
|
||||
unsigned int num, bool weak_barriers,
|
||||
struct vring_desc __user *desc,
|
||||
struct vring_avail __user *avail,
|
||||
@ -167,7 +167,7 @@ bool vringh_notify_enable_user(struct vringh *vrh);
|
||||
void vringh_notify_disable_user(struct vringh *vrh);
|
||||
|
||||
/* Helpers for kernelspace vrings. */
|
||||
int vringh_init_kern(struct vringh *vrh, u32 features,
|
||||
int vringh_init_kern(struct vringh *vrh, u64 features,
|
||||
unsigned int num, bool weak_barriers,
|
||||
struct vring_desc *desc,
|
||||
struct vring_avail *avail,
|
||||
|
Loading…
Reference in New Issue
Block a user