summaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2006-06-10 10:23:54 (GMT)
committerPaul Mackerras <paulus@samba.org>2006-06-15 09:31:25 (GMT)
commit8555a0029b1b0840237b750e55d4835a52cc719b (patch)
treefb17c491f12deb3d7ac93397091ec900fbce46e9 /arch/powerpc/sysdev
parent3a2c48cfc97f9046abbd810f1efb1aa824bcfaf1 (diff)
downloadlinux-fsl-qoriq-8555a0029b1b0840237b750e55d4835a52cc719b.tar.xz
[POWERPC] Optimise some TOC usage
Micro-optimisation - add no-minimal-toc to some more arch/powerpc Makefiles. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/sysdev')
-rw-r--r--arch/powerpc/sysdev/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/Makefile b/arch/powerpc/sysdev/Makefile
index 4c2b356..cef95b0 100644
--- a/arch/powerpc/sysdev/Makefile
+++ b/arch/powerpc/sysdev/Makefile
@@ -1,3 +1,7 @@
+ifeq ($(CONFIG_PPC64),y)
+EXTRA_CFLAGS += -mno-minimal-toc
+endif
+
obj-$(CONFIG_MPIC) += mpic.o
obj-$(CONFIG_PPC_INDIRECT_PCI) += indirect_pci.o
obj-$(CONFIG_PPC_I8259) += i8259.o