Guest User

Nvidia patch for kernel 3.11

a guest
Oct 25th, 2013
229
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff -uNr a/kernel/nv-linux.h b/kernel/nv-linux.h
  2. --- a/kernel/nv-linux.h 2013-08-14 10:27:46.000000000 +0800
  3. +++ b/kernel/nv-linux.h 2013-09-06 19:36:15.998795150 +0800
  4. @@ -1037,7 +1037,8 @@
  5.  #if !defined(NV_VMWARE)
  6. -#define NV_NUM_PHYSPAGES                num_physpages
  7. +#define NV_NUM_PHYSPAGES       get_num_physpages()
  8. +//#define NV_NUM_PHYSPAGES                num_physpages
  9.  #define NV_GET_CURRENT_PROCESS()        current->tgid
  10.  #define NV_IN_ATOMIC()                  in_atomic()
  11.  #define NV_LOCAL_BH_DISABLE()           local_bh_disable()
  12.  #endif
RAW Paste Data