wok-undigest annotate catalyst/stuff/catalyst-2.6.37.patch @ rev 1257

recook binutils
author Hans-G?nter Theisgen
date Sat Aug 13 10:55:58 2022 +0100 (2022-08-13)
parents
children
rev   line source
pankso@281 1 --- work.orig/common/lib/modules/fglrx/build_mod/firegl_public.c 2010-08-20 21:51:48.000000000 +0200
pankso@281 2 +++ work/common/lib/modules/fglrx/build_mod/firegl_public.c 2010-08-20 23:46:37.000000000 +0200
pankso@281 3 @@ -320,7 +320,11 @@
pankso@281 4 return firegl_release((KCL_IO_FILE_Handle)filp);
pankso@281 5 }
pankso@281 6
pankso@281 7 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
pankso@281 8 +int ip_firegl_ioctl(struct file* filp, unsigned int cmd, unsigned long arg)
pankso@281 9 +#else
pankso@281 10 int ip_firegl_ioctl(struct inode* inode, struct file* filp, unsigned int cmd, unsigned long arg)
pankso@281 11 +#endif
pankso@281 12 {
pankso@281 13 return firegl_ioctl((KCL_IO_FILE_Handle)filp, cmd, arg);
pankso@281 14 }
pankso@281 15 @@ -407,7 +411,11 @@
pankso@281 16 #endif
pankso@281 17 open: ip_firegl_open,
pankso@281 18 release: ip_firegl_release,
pankso@281 19 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
pankso@281 20 + unlocked_ioctl: ip_firegl_ioctl,
pankso@281 21 +#else
pankso@281 22 ioctl: ip_firegl_ioctl,
pankso@281 23 +#endif
pankso@281 24 mmap: ip_firegl_mmap,
pankso@281 25
pankso@281 26 write: ip_firegl_write,