Lines 414-422
Link Here
|
414 |
static struct file_operations nv_fops = { |
414 |
static struct file_operations nv_fops = { |
415 |
.owner = THIS_MODULE, |
415 |
.owner = THIS_MODULE, |
416 |
.poll = nv_kern_poll, |
416 |
.poll = nv_kern_poll, |
417 |
.ioctl = nv_kern_ioctl, |
|
|
418 |
#if defined(HAVE_UNLOCKED_IOCTL) |
417 |
#if defined(HAVE_UNLOCKED_IOCTL) |
419 |
.unlocked_ioctl = nv_kern_unlocked_ioctl, |
418 |
.unlocked_ioctl = nv_kern_unlocked_ioctl, |
420 |
#endif |
419 |
#endif |
421 |
#if defined(NVCPU_X86_64) && defined(HAVE_COMPAT_IOCTL) |
420 |
#if defined(NVCPU_X86_64) && defined(HAVE_COMPAT_IOCTL) |
422 |
.compat_ioctl = nv_kern_compat_ioctl, |
421 |
.compat_ioctl = nv_kern_compat_ioctl, |