From 7cfa24cebeaf144b446d07e15fb25e78bb14841e Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Thu, 11 Apr 2024 13:42:54 -0400 Subject: Linux 5.17+ support and allow including nvdebug.h independently - Move Linux-specific functions to nvdebug_linux.h and .c - Workaround PDE_DATA() being pde_data() on Linux 5.17+ --- runlist_procfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runlist_procfs.c') diff --git a/runlist_procfs.c b/runlist_procfs.c index e50c34a..0087d90 100644 --- a/runlist_procfs.c +++ b/runlist_procfs.c @@ -1,7 +1,7 @@ #include // For seq_* functions and types #include // Macros to detect kernel version -#include "nvdebug.h" +#include "nvdebug_linux.h" #define RUNLIST_PROCFS_NAME "runlist" #define DETAILED_CHANNEL_INFO -- cgit v1.2.2