Skip to content
Browse files

mmt/nvidia: fix "create mapped object" ioctl for addresses above 4GB

  • Loading branch information...
1 parent 8bf369f commit 2fb1a5b54a9cc11fc3ea50213a38e6142eea8f7e @mslusarz mslusarz committed Jul 4, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 mmt/mmt_nv_ioctl.c
View
2 mmt/mmt_nv_ioctl.c
@@ -752,7 +752,7 @@ void mmt_nv_ioctl_post(UWord *args)
obj1 = data[1];
obj2 = data[2];
type = data[3];
- addr = data[6];
+ addr = (((Off64T)data[7]) << 32) | data[6];
if (mmt_binary_output)
{
mmt_bin_write_1('n');

0 comments on commit 2fb1a5b

Please sign in to comment.
Something went wrong with that request. Please try again.