wok view catalyst/stuff/catalyst-2.6.37.patch @ rev 9575

Up: xorg-fixesproto to 5.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Apr 12 11:16:48 2011 +0000 (2011-04-12)
parents
children
line source
1 --- work.orig/common/lib/modules/fglrx/build_mod/firegl_public.c 2010-08-20 21:51:48.000000000 +0200
2 +++ work/common/lib/modules/fglrx/build_mod/firegl_public.c 2010-08-20 23:46:37.000000000 +0200
3 @@ -320,7 +320,11 @@
4 return firegl_release((KCL_IO_FILE_Handle)filp);
5 }
7 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
8 +int ip_firegl_ioctl(struct file* filp, unsigned int cmd, unsigned long arg)
9 +#else
10 int ip_firegl_ioctl(struct inode* inode, struct file* filp, unsigned int cmd, unsigned long arg)
11 +#endif
12 {
13 return firegl_ioctl((KCL_IO_FILE_Handle)filp, cmd, arg);
14 }
15 @@ -407,7 +411,11 @@
16 #endif
17 open: ip_firegl_open,
18 release: ip_firegl_release,
19 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
20 + unlocked_ioctl: ip_firegl_ioctl,
21 +#else
22 ioctl: ip_firegl_ioctl,
23 +#endif
24 mmap: ip_firegl_mmap,
26 write: ip_firegl_write,