OpenCloudOS-Kernel/arch/powerpc
Vladimir Murzin 8616dff5b0 powerpc: Fix section mismatch warning in free_lppacas
While cross-building for PPC64 I've got bunch of

WARNING: arch/powerpc/kernel/built-in.o(.text.unlikely+0x2d2): Section
mismatch in reference from the function .free_lppacas() to the variable
.init.data:lppaca_size The function .free_lppacas() references the variable
__initdata lppaca_size. This is often because .free_lppacas lacks a __initdata
annotation or the annotation of lppaca_size is wrong.

Fix it by using proper annotation for free_lppacas. Additionally, annotate
{allocate,new}_llpcas properly.

Signed-off-by: Vladimir Murzin <murzin.v@gmail.com>
Acked-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-10-11 16:49:26 +11:00
..
boot powerpc: Add ability to build little endian kernels 2013-10-11 16:48:56 +11:00
configs powerpc/85xx: Add C293PCIE board support 2013-08-23 19:43:24 -05:00
crypto powerpc: Fix compile of sha1-powerpc-asm.S on 32-bit 2013-03-05 16:56:26 +11:00
include powerpc/hvsi: Fix endian issues in HVSI driver 2013-10-11 16:48:53 +11:00
kernel powerpc: Fix section mismatch warning in free_lppacas 2013-10-11 16:49:26 +11:00
kvm KVM: PPC: Disable KVM on little endian builds 2013-10-11 16:48:55 +11:00
lib powerpc: Use generic memcpy code in little endian 2013-10-11 16:48:40 +11:00
math-emu powerpc/math-emu: Fix load/store indexed emulation 2013-08-14 14:59:57 +10:00
mm powerpc: Book 3S MMU little endian support 2013-10-11 16:48:26 +11:00
net ppc: bpf_jit: can call module_free() from any context 2013-05-20 14:03:50 -07:00
oprofile Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2013-09-06 10:49:42 -07:00
perf powerpc/perf: Fix handling of FAB events 2013-10-03 17:25:38 +10:00
platforms powerpc/8xx/tqm8xx: Fix incorrect placement of __initdata tag 2013-10-11 16:49:00 +11:00
sysdev powerpc/mpic: Disable preemption when calling mpic_processor_id() 2013-10-11 16:48:58 +11:00
xmon powerpc/xmon: Fix printing of set of CPUs in xmon 2013-09-05 17:29:19 +10:00
Kconfig powerpc: Don't set HAVE_EFFICIENT_UNALIGNED_ACCESS on little endian builds 2013-10-11 16:48:56 +11:00
Kconfig.debug Merge branch 'kconfig-diet' from Dave Hansen 2013-07-04 11:25:51 -07:00
Makefile powerpc: Work around little endian gcc bug 2013-10-11 16:48:57 +11:00
relocs_check.pl Fix warning typo "CONFIG_RELCOATABLE" 2013-05-29 15:11:30 +02:00