Mailinglist Archive: opensuse (1179 mails)

< Previous Next >
Re: [opensuse] Re: kernel 2.6.36 speeds things up
  • From: Philipp Thomas <pth@xxxxxxx>
  • Date: Tue, 7 Sep 2010 14:11:13 +0200
  • Message-id: <20100907121113.GC6529@xxxxxxxxxxxxxxxx>
* phanisvara das (phani00@xxxxxxxxx) [20100905 20:50]:

didn't work for me. "kernelmodule could not be built," or similar. in the log
file, it suggests doing things to the kernel source configuration.

The patched I used is attached.

Philipp

--- kernel/nv.c.original 2010-09-07 13:55:25.770456446 +0200
+++ kernel/nv.c 2010-09-07 14:08:34.681351694 +0200
@@ -423,7 +423,9 @@ static struct pci_driver nv_pci_driver =
static struct file_operations nv_fops = {
.owner = THIS_MODULE,
.poll = nv_kern_poll,
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,36)
.ioctl = nv_kern_ioctl,
+#endif
#if defined(HAVE_UNLOCKED_IOCTL)
.unlocked_ioctl = nv_kern_unlocked_ioctl,
#endif
< Previous Next >