PB1176 broken in -rc1

Linus Walleij linus.walleij at linaro.org
Thu Aug 11 09:02:21 EDT 2011


2011/8/10 Will Deacon <will.deacon at arm.com>:
> [Jamie]
>> diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c
>> index 2fee782..91bca35 100644
>> --- a/arch/arm/mm/init.c
>> +++ b/arch/arm/mm/init.c
>> @@ -441,7 +441,7 @@ static inline int free_area(unsigned long pfn, unsigned long end, char *s)
>>  static inline void poison_init_mem(void *s, size_t count)
>>  {
>>       u32 *p = (u32 *)s;
>> -     while ((count = count - 4))
>> +     for (; count != 0; count -= 4)
>>               *p++ = 0xe7fddef0;
>>  }
>
> Wahey, with this I can get a working system again. Thanks for saving me from
> reaching for the JTAG debugger!

Thanks for fixing Jamie, I was sure I had screwed up on TCM somehow but
it actually seems I haven't.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list