[PATCH] ARM: Fix data abort accessing proc_info from __lookup_processor_type (Re: [PATCH 03/10] ARM: hotplug cpu: Keep processor information, startup code & __lookup_processor_type)
Russell King - ARM Linux
linux at arm.linux.org.uk
Sat Oct 23 04:30:45 EDT 2010
On Fri, Oct 22, 2010 at 11:51:08AM -0700, Tony Lindgren wrote:
> diff --git a/arch/arm/kernel/vmlinux.lds.S b/arch/arm/kernel/vmlinux.lds.S
> index 1953e3d..a58b91d 100644
> --- a/arch/arm/kernel/vmlinux.lds.S
> +++ b/arch/arm/kernel/vmlinux.lds.S
> @@ -114,6 +114,7 @@ SECTIONS
> *(.glue_7)
> *(.glue_7t)
> *(.got) /* Global offset table */
> + . = ALIGN(4);
> ARM_CPU_KEEP(PROC_INFO)
The got table should also be word aligned - but the kernel doesn't use
one. In any case, it would be a good idea to place it before the .got.
More information about the linux-arm-kernel
mailing list