diff options
| author | Joshua Bakita <jbakita@cs.unc.edu> | 2024-04-11 13:42:54 -0400 |
|---|---|---|
| committer | Joshua Bakita <jbakita@cs.unc.edu> | 2024-04-11 13:42:54 -0400 |
| commit | 7cfa24cebeaf144b446d07e15fb25e78bb14841e (patch) | |
| tree | 639db3695c54a1e50b3f10e1abb2bfaf5b8dd906 /runlist_procfs.c | |
| parent | a8fd5a8dee066d0008e7667b0c9e6a60cd5f3a2e (diff) | |
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+
Diffstat (limited to 'runlist_procfs.c')
| -rw-r--r-- | runlist_procfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
| 1 | #include <linux/seq_file.h> // For seq_* functions and types | 1 | #include <linux/seq_file.h> // For seq_* functions and types |
| 2 | #include <linux/version.h> // Macros to detect kernel version | 2 | #include <linux/version.h> // Macros to detect kernel version |
| 3 | 3 | ||
| 4 | #include "nvdebug.h" | 4 | #include "nvdebug_linux.h" |
| 5 | 5 | ||
| 6 | #define RUNLIST_PROCFS_NAME "runlist" | 6 | #define RUNLIST_PROCFS_NAME "runlist" |
| 7 | #define DETAILED_CHANNEL_INFO | 7 | #define DETAILED_CHANNEL_INFO |
