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