[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200804124417.27102-3-alex.bennee@linaro.org>
Date: Tue, 4 Aug 2020 13:44:16 +0100
From: Alex Bennée <alex.bennee@...aro.org>
To: kvm@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Cc: linux-kernel@...r.kernel.org, kvmarm@...ts.cs.columbia.edu,
christoffer.dall@....com, maz@...nel.org,
Alex Bennée <alex.bennee@...aro.org>
Subject: [PATCH v1 2/3] arm64: gate the whole of pci-xgene on CONFIG_PCI_XGENE
This is a little weirder as bits of the file are already conditioned
on the exiting symbol. Either way they are not actually needed for
non-xgene machines saving another 12k:
-rwxr-xr-x 1 alex alex 86033880 Aug 3 16:39 vmlinux.orig*
-rwxr-xr-x 1 alex alex 85652472 Aug 3 16:54 vmlinux.rm-thunder*
-rwxr-xr-x 1 alex alex 85639808 Aug 3 17:12 vmlinux*
Signed-off-by: Alex Bennée <alex.bennee@...aro.org>
---
drivers/pci/controller/Makefile | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/pci/controller/Makefile b/drivers/pci/controller/Makefile
index 8fad4781a5d3..3b9b72f5773a 100644
--- a/drivers/pci/controller/Makefile
+++ b/drivers/pci/controller/Makefile
@@ -47,6 +47,4 @@ obj-y += mobiveil/
obj-$(CONFIG_PCI_THUNDER) += pci-thunder-ecam.o
obj-$(CONFIG_PCI_THUNDER) += pci-thunder-pem.o
-ifdef CONFIG_PCI
-obj-$(CONFIG_ARM64) += pci-xgene.o
-endif
+obj-$(CONFIG_PCI_XGENE) += pci-xgene.o
--
2.20.1
Powered by blists - more mailing lists