Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 342193 | Differences between
and this patch

Collapse All | Expand All

(-)vmmon-only/linux/driver.c.orig (-4 lines)
Lines 419-429 Link Here
419
   memset(&vmuser_fops, 0, sizeof vmuser_fops);
419
   memset(&vmuser_fops, 0, sizeof vmuser_fops);
420
   vmuser_fops.owner = THIS_MODULE;
420
   vmuser_fops.owner = THIS_MODULE;
421
   vmuser_fops.poll = LinuxDriverPoll;
421
   vmuser_fops.poll = LinuxDriverPoll;
422
#ifdef VMW_HAVE_UNLOCKED_IOCTL
423
   vmuser_fops.unlocked_ioctl = LinuxDriver_UnlockedIoctl;
422
   vmuser_fops.unlocked_ioctl = LinuxDriver_UnlockedIoctl;
424
#else
425
   vmuser_fops.ioctl = LinuxDriver_Ioctl;
426
#endif
427
#ifdef HAVE_COMPAT_IOCTL
423
#ifdef HAVE_COMPAT_IOCTL
428
   vmuser_fops.compat_ioctl = LinuxDriver_UnlockedIoctl;
424
   vmuser_fops.compat_ioctl = LinuxDriver_UnlockedIoctl;
429
#endif
425
#endif

Return to bug 342193