From a15aff6b43750f1b08a594af9ac2bc0a4ecea4ed Mon Sep 17 00:00:00 2001 From: Ankita Garg Date: Fri, 12 May 2023 07:06:46 +0000 Subject: [PATCH] mods: Disable mods in ACK Disable mods in android common kernel (ACK). ACK places restrictions on the use of symbols exported by the fs subsystem. These symbols have to be explicity imported using MODULE_IMPORT_NS. To avoid build errors, disable mods functionality as of now. Bug 3974840 Change-Id: I28bcb574ba722415a62a68f81d6579e2fd8a1d51 Signed-off-by: Ankita Garg (cherry picked from commit ff77fe1566b536cb2243b6158ec6cf7e90f614bc) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2910059 Reviewed-by: svcacv Reviewed-by: Laxman Dewangan GVS: Gerrit_Virtual_Submit --- drivers/misc/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile index 041f49b8..28fc021e 100644 --- a/drivers/misc/Makefile +++ b/drivers/misc/Makefile @@ -4,7 +4,9 @@ LINUX_VERSION := $(shell expr $(VERSION) \* 256 + $(PATCHLEVEL)) LINUX_VERSION_6_3 := $(shell expr 6 \* 256 + 3) +ifeq ($(findstring ack_src,$(NV_BUILD_KERNEL_OPTIONS)),) obj-m += mods/ +endif obj-m += nvsciipc/ ifdef CONFIG_PCI obj-m += tegra-pcie-dma-test.o