Lines 958-964
Link Here
|
958 |
#endif |
958 |
#endif |
959 |
|
959 |
|
960 |
#if !defined(NV_VMWARE) |
960 |
#if !defined(NV_VMWARE) |
961 |
#define NV_NUM_PHYSPAGES num_physpages |
961 |
|
|
|
962 |
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 11, 0) |
963 |
#define NV_NUM_PHYSPAGES get_num_physpages |
964 |
#else |
965 |
#define NV_NUM_PHYSPAGES num_physpages |
966 |
#endif |
967 |
|
962 |
#define NV_GET_CURRENT_PROCESS() current->tgid |
968 |
#define NV_GET_CURRENT_PROCESS() current->tgid |
963 |
#define NV_IN_ATOMIC() in_atomic() |
969 |
#define NV_IN_ATOMIC() in_atomic() |
964 |
#define NV_LOCAL_BH_DISABLE() local_bh_disable() |
970 |
#define NV_LOCAL_BH_DISABLE() local_bh_disable() |