diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/hal_gp10b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/hal_gp10b.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c index 2699dd7a..f0137a70 100644 --- a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c | |||
@@ -15,6 +15,7 @@ | |||
15 | 15 | ||
16 | #include <linux/types.h> | 16 | #include <linux/types.h> |
17 | #include <linux/printk.h> | 17 | #include <linux/printk.h> |
18 | #include <linux/version.h> | ||
18 | 19 | ||
19 | #include <linux/types.h> | 20 | #include <linux/types.h> |
20 | 21 | ||
@@ -46,7 +47,9 @@ | |||
46 | #include "gk20a/dbg_gpu_gk20a.h" | 47 | #include "gk20a/dbg_gpu_gk20a.h" |
47 | #include "gk20a/css_gr_gk20a.h" | 48 | #include "gk20a/css_gr_gk20a.h" |
48 | 49 | ||
50 | #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 4, 0) | ||
49 | #define FUSE_OPT_PRIV_SEC_EN_0 0x264 | 51 | #define FUSE_OPT_PRIV_SEC_EN_0 0x264 |
52 | #endif | ||
50 | #define PRIV_SECURITY_ENABLED 0x01 | 53 | #define PRIV_SECURITY_ENABLED 0x01 |
51 | 54 | ||
52 | static struct gpu_ops gp10b_ops = { | 55 | static struct gpu_ops gp10b_ops = { |