Line
Link Here
|
0 |
-- a/kernel/nv-linux.h |
0 |
++ b/kernel/nv-linux.h |
Lines 957-963
static inline int nv_execute_on_all_cpus
Link Here
|
957 |
#endif |
957 |
#endif |
958 |
|
958 |
|
959 |
#if !defined(NV_VMWARE) |
959 |
#if !defined(NV_VMWARE) |
|
|
960 |
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 11, 0) |
961 |
#define NV_NUM_PHYSPAGES get_num_physpages() |
962 |
#else |
960 |
#define NV_NUM_PHYSPAGES num_physpages |
963 |
#define NV_NUM_PHYSPAGES num_physpages |
|
|
964 |
#endif |
961 |
#define NV_GET_CURRENT_PROCESS() current->tgid |
965 |
#define NV_GET_CURRENT_PROCESS() current->tgid |
962 |
#define NV_IN_ATOMIC() in_atomic() |
966 |
#define NV_IN_ATOMIC() in_atomic() |
963 |
#define NV_LOCAL_BH_DISABLE() local_bh_disable() |
967 |
#define NV_LOCAL_BH_DISABLE() local_bh_disable() |