Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
b97a8a90
Commit
b97a8a90
authored
Dec 12, 2014
by
Michael S. Tsirkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vringh: 64 bit features
Pass u64 everywhere. Signed-off-by:
Michael S. Tsirkin
<
mst@redhat.com
>
parent
8dc32b29
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
drivers/vhost/vringh.c
drivers/vhost/vringh.c
+2
-2
include/linux/vringh.h
include/linux/vringh.h
+2
-2
No files found.
drivers/vhost/vringh.c
View file @
b97a8a90
...
...
@@ -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
,
u
32
features
,
int
vringh_init_user
(
struct
vringh
*
vrh
,
u
64
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
,
u
32
features
,
int
vringh_init_kern
(
struct
vringh
*
vrh
,
u
64
features
,
unsigned
int
num
,
bool
weak_barriers
,
struct
vring_desc
*
desc
,
struct
vring_avail
*
avail
,
...
...
include/linux/vringh.h
View file @
b97a8a90
...
...
@@ -105,7 +105,7 @@ struct vringh_kiov {
#define VRINGH_IOV_ALLOCATED 0x8000000
/* Helpers for userspace vrings. */
int
vringh_init_user
(
struct
vringh
*
vrh
,
u
32
features
,
int
vringh_init_user
(
struct
vringh
*
vrh
,
u
64
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
,
u
32
features
,
int
vringh_init_kern
(
struct
vringh
*
vrh
,
u
64
features
,
unsigned
int
num
,
bool
weak_barriers
,
struct
vring_desc
*
desc
,
struct
vring_avail
*
avail
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment