Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

Miscellany
Thursday, May 30th, 2013 at 5:49:02pm UTC 

  1. --- firegl_public.c.orig        2013-05-30 17:21:47.761634270 +0200
  2. +++ firegl_public.c     2013-05-30 17:22:53.649635417 +0200
  3. @@ -34,7 +34,7 @@
  4.  #include <linux/autoconf.h>
  5.  #endif
  6.  
  7. -#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,0)
  8. +#if LINUX_VERSION_CODE >= KERNEL_VERSION(7,7,7)
  9.  #include <linux/uidgid.h>
  10.  #endif
  11.  
  12. @@ -589,14 +589,14 @@
  13.  };
  14.  
  15.  
  16. -#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
  17. +#if LINUX_VERSION_CODE >= KERNEL_VERSION(8,8,8)
  18.  typedef int (read_proc_t)(char *page, char **start, off_t off, int count, int *eof, void *data);
  19.  typedef int (write_proc_t)(struct file *file, const char __user *buffer, unsigned long count, void *data);
  20.  #else
  21.  #define PDE_DATA(inode) (PDE((inode))->data)
  22.  #endif
  23.  
  24. -#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
  25. +#if LINUX_VERSION_CODE >= KERNEL_VERSION(8,8,8)
  26.  typedef struct {
  27.         read_proc_t *read_func;
  28.         write_proc_t *write_func;
  29. @@ -1745,13 +1745,13 @@
  30.  KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)
  31.  {
  32.  #ifdef current_euid
  33. -# if LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,0)
  34. +# if LINUX_VERSION_CODE >= KERNEL_VERSION(7,7,7)
  35.      return __kuid_val(current_euid());
  36.  # else
  37.      return current_euid();
  38.  # endif
  39.  #else
  40. -# if LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,0)
  41. +# if LINUX_VERSION_CODE >= KERNEL_VERSION(7,7,7)
  42.      return __kuid_val(current->euid);
  43.  # else
  44.      return current->euid;

advertising

Update the Post

Soit mettez à jour ce message et ré-envoyez-le avec les modifications, soit créer un nouveau message.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right
worth-right
worth-right