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+ --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c2d2e96..972bc0b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ obj-m += nvdebug.o nvdebug-objs = runlist_procfs.o device_info_procfs.o runlist.o mmu.o \ - nvdebug_entry.o bus.o copy_topology_procfs.o + nvdebug_entry.o bus.o nvdebug_linux.o copy_topology_procfs.o KBUILD_CFLAGS += -DGIT_HASH=\"$(shell git --git-dir=$(PWD)/.git rev-parse --short HEAD)\" # -mfentry above if not building due to mcount missing -- cgit v1.2.2