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 /Makefile | |
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 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,6 +1,6 @@ | |||
1 | obj-m += nvdebug.o | 1 | obj-m += nvdebug.o |
2 | nvdebug-objs = runlist_procfs.o device_info_procfs.o runlist.o mmu.o \ | 2 | nvdebug-objs = runlist_procfs.o device_info_procfs.o runlist.o mmu.o \ |
3 | nvdebug_entry.o bus.o copy_topology_procfs.o | 3 | nvdebug_entry.o bus.o nvdebug_linux.o copy_topology_procfs.o |
4 | KBUILD_CFLAGS += -DGIT_HASH=\"$(shell git --git-dir=$(PWD)/.git rev-parse --short HEAD)\" | 4 | KBUILD_CFLAGS += -DGIT_HASH=\"$(shell git --git-dir=$(PWD)/.git rev-parse --short HEAD)\" |
5 | # -mfentry above if not building due to mcount missing | 5 | # -mfentry above if not building due to mcount missing |
6 | 6 | ||