Guest User

Untitled

a guest
Aug 5th, 2013
5,890
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- a/kernel/nv-linux.h
  2. +++ b/kernel/nv-linux.h
  3. @@ -957,7 +957,11 @@ static inline int nv_execute_on_all_cpus
  4. #endif
  5.  
  6. #if !defined(NV_VMWARE)
  7. +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 11, 0)
  8. +#define NV_NUM_PHYSPAGES get_num_physpages()
  9. +#else
  10. #define NV_NUM_PHYSPAGES num_physpages
  11. +#endif
  12. #define NV_GET_CURRENT_PROCESS() current->tgid
  13. #define NV_IN_ATOMIC() in_atomic()
  14. #define NV_LOCAL_BH_DISABLE() local_bh_disable()
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×