Re: [PATCH] ARM: Set proper TEXT_OFFSET for newer MSMs

From: Stephen Boyd
Date: Sun Jul 24 2011 - 18:40:55 EST


On 07/24/2011 12:56 PM, Nicolas Pitre wrote:
> On Sun, 24 Jul 2011, Stephen Boyd wrote:
>> +static void __init msm7x30_fixup(struct machine_desc *desc, struct tag *tag,
>> + char **cmdline, struct meminfo *mi)
>> +{
>> + for (; tag->hdr.size; tag = tag_next(tag))
>> + if (tag->hdr.tag == ATAG_MEM && tag->u.mem.start == 0x200000)
>> + tag->u.mem.start = 0;
>> +}
> Don't you need to also increase tag->u.mem.size by 2MB ?

Thanks. I was fixated on the start address.

--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/