Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -uNr a/kernel/nv-linux.h b/kernel/nv-linux.h
- --- a/kernel/nv-linux.h 2013-08-14 10:27:46.000000000 +0800
- +++ b/kernel/nv-linux.h 2013-09-06 19:36:15.998795150 +0800
- @@ -1037,7 +1037,8 @@
- #if !defined(NV_VMWARE)
- -#define NV_NUM_PHYSPAGES num_physpages
- +#define NV_NUM_PHYSPAGES get_num_physpages()
- +//#define NV_NUM_PHYSPAGES num_physpages
- #define NV_GET_CURRENT_PROCESS() current->tgid
- #define NV_IN_ATOMIC() in_atomic()
- #define NV_LOCAL_BH_DISABLE() local_bh_disable()
- #endif
Advertisement
RAW Paste Data
Copied
Advertisement