linux/arch/powerpc/sysdev
Anton Blanchard 1fbe9cf259 powerpc: Build kernel with -mcmodel=medium
Finally remove the two level TOC and build with -mcmodel=medium.

Unfortunately we can't build modules with -mcmodel=medium due to
the tricks the kernel module loader plays with percpu data:

# -mcmodel=medium breaks modules because it uses 32bit offsets from
# the TOC pointer to create pointers where possible. Pointers into the
# percpu data area are created by this method.
#
# The kernel module loader relocates the percpu data section from the
# original location (starting with 0xd...) to somewhere in the base
# kernel percpu data space (starting with 0xc...). We need a full
# 64bit relocation for this to work, hence -mcmodel=large.

On older kernels we fall back to the two level TOC (-mminimal-toc)

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-01-10 17:00:31 +11:00
..
bestcomm POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
ge Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2012-03-21 18:55:10 -07:00
qe_lib powerpc: Fix typos in Freescale copyright claims 2012-11-15 13:00:58 +11:00
xics powerpc: Make sure IPI handlers see data written by IPI senders 2012-09-05 16:05:22 +10:00
6xx-suspend.S powerpc: Use CURRENT_THREAD_INFO instead of open coded assembly 2012-07-11 14:18:22 +10:00
axonram.c
cpm1.c irq_domain/powerpc: constify irq_domain_ops 2012-02-16 06:11:24 -07:00
cpm2_pic.c powerpc/irqdomain: Fix broken NR_IRQ references 2012-04-30 10:45:26 +10:00
cpm2_pic.h
cpm2.c
cpm_common.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
dart_iommu.c powerpc/iommu: Fix multiple issues with IOMMU pools code 2012-10-04 18:03:20 +10:00
dart.h
dcr-low.S
dcr.c
ehv_pic.c irq_domain/powerpc: constify irq_domain_ops 2012-02-16 06:11:24 -07:00
fsl_85xx_cache_ctlr.h powerpc/85xx: Fix sram_offset parameter type 2012-07-26 13:24:32 -05:00
fsl_85xx_cache_sram.c powerpc/85xx: Fix compiler error with THIS_MODULE and related 2012-03-16 14:50:25 -05:00
fsl_85xx_l2ctlr.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
fsl_gtm.c powerpc: Fix typos in Freescale copyright claims 2012-11-15 13:00:58 +11:00
fsl_ifc.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
fsl_lbc.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
fsl_mpic_err.c powerpc/mpic: FSL MPIC error interrupt support. 2012-09-12 14:57:10 -05:00
fsl_msi.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
fsl_msi.h
fsl_pci.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
fsl_pci.h powerpc/fsl-pci: Unify pci/pcie initialization code 2012-09-12 14:57:12 -05:00
fsl_pmc.c
fsl_rio.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
fsl_rio.h
fsl_rmu.c powerpc/srio: Fix the compile errors when building with 64bit 2012-03-16 10:46:30 -05:00
fsl_soc.c powerpc/fsl-soc: use CONFIG_EPAPR_PARAVIRT for hcalls 2012-10-05 23:38:38 +02:00
fsl_soc.h
grackle.c
i8259.c irq_domain: Add support for base irq and hwirq in legacy mappings 2012-02-16 06:11:23 -07:00
indirect_pci.c
ipic.c irq_domain/powerpc: Replace custom xlate functions with library functions 2012-02-16 06:11:24 -07:00
ipic.h
Kconfig powerpc: Move GE PIC drivers 2012-03-16 11:08:11 -05:00
Makefile powerpc: Build kernel with -mcmodel=medium 2013-01-10 17:00:31 +11:00
micropatch.c
mmio_nvram.c
mpc5xxx_clocks.c
mpc8xx_pic.c powerpc/8xx: Fix NR_IRQ bugs and refactor 8xx interrupt controller 2012-04-30 10:45:25 +10:00
mpc8xx_pic.h
mpic_msgr.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
mpic_msi.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2012-03-21 18:55:10 -07:00
mpic_pasemi_msi.c
mpic_u3msi.c
mpic.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
mpic.h powerpc/mpic: FSL MPIC error interrupt support. 2012-09-12 14:57:10 -05:00
msi_bitmap.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
mv64x60_dev.c
mv64x60_pci.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
mv64x60_pic.c irq_domain: Replace irq_alloc_host() with revmap-specific initializers 2012-02-16 06:11:22 -07:00
mv64x60_udbg.c
mv64x60.h
of_rtc.c
pmi.c powerpc/sysdev: Use module_platform_driver macro 2012-11-15 13:00:05 +11:00
ppc4xx_cpm.c
ppc4xx_gpio.c
ppc4xx_msi.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
ppc4xx_ocm.c powerpc/44x: Support OCM(On Chip Memory) for APM821xx SoC and Bluestone board 2013-01-10 15:08:37 +11:00
ppc4xx_pci.c powerpc/44x: Add support PCI-E for APM821xx SoC and Bluestone board 2012-03-17 08:49:34 -04:00
ppc4xx_pci.h
ppc4xx_soc.c
rtc_cmos_setup.c
scom.c powerpc: Fix fallout from device_node->name constification 2012-11-29 17:27:19 +00:00
simple_gpio.c
simple_gpio.h
tsi108_dev.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
tsi108_pci.c irq_domain: Add support for base irq and hwirq in legacy mappings 2012-02-16 06:11:23 -07:00
uic.c irq_domain/powerpc: Replace custom xlate functions with library functions 2012-02-16 06:11:24 -07:00
xilinx_intc.c irq_domain: Replace irq_alloc_host() with revmap-specific initializers 2012-02-16 06:11:22 -07:00
xilinx_pci.c