aboutsummaryrefslogtreecommitdiff
path: root/kmod/muser.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmod/muser.h')
-rw-r--r--kmod/muser.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/kmod/muser.h b/kmod/muser.h
index 14fecd6..0cd76a9 100644
--- a/kmod/muser.h
+++ b/kmod/muser.h
@@ -47,8 +47,13 @@ struct muser_cmd_ioctl {
union muser_cmd_mmap {
struct {
- unsigned long start;
- unsigned long end;
+ union {
+ struct {
+ unsigned long start;
+ unsigned long end;
+ };
+ unsigned long len;
+ };
unsigned long flags;
unsigned long pgoff;
} request;