kernel-fxtec-pro1x/arch/powerpc/platforms/wsp
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
..
chroma.c
h8.c
ics.c
ics.h
Kconfig
Makefile powerpc: Build kernel with -mcmodel=medium 2013-01-10 17:00:31 +11:00
msi.c
msi.h
opb_pic.c
psr2.c
scom_smp.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
scom_wsp.c
setup.c
smp.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
wsp.c
wsp.h POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
wsp_pci.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
wsp_pci.h