diff options
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/os_linux.h')
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/os_linux.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/os_linux.h b/drivers/gpu/nvgpu/os/linux/os_linux.h index 13c20a81..5f35db09 100644 --- a/drivers/gpu/nvgpu/os/linux/os_linux.h +++ b/drivers/gpu/nvgpu/os/linux/os_linux.h | |||
@@ -165,4 +165,6 @@ static inline struct device *dev_from_gk20a(struct gk20a *g) | |||
165 | 165 | ||
166 | #define INTERFACE_NAME "nvhost%s-gpu" | 166 | #define INTERFACE_NAME "nvhost%s-gpu" |
167 | 167 | ||
168 | #define totalram_size_in_mb (totalram_pages >> (10 - (PAGE_SHIFT - 10))) | ||
169 | |||
168 | #endif | 170 | #endif |