lkml.org 
[lkml]   [2010]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 27/35] core: move early_res
On 02/16/2010 03:46 PM, H. Peter Anvin wrote:
> On 02/14/2010 12:46 PM, Yinghai Lu wrote:
>>
>> please check
>>
>> Subject: [PATCH -v2] x86: fix cross-arch compiling
>>
>> Ingo found:
>> lots of cross-arch build failures in latest -tip:
>>
>>
>> +u64 __init __weak get_max_mapped(void)
>> +{
>> + panic("should have get_max_mapped defined with arch");
>> +
>> + return -1ULL;
>> +}
>> +
>
> All this does would seem is it would change a build failure into a
> runtime panic. I really fail to see how this is an improvement...

current only x86 support to early_res replace bootmem.

later if other arch is using that feature, it need to provide that get_max_mapped.

Yinghai


\
 
 \ /
  Last update: 2010-02-17 00:57    [W:1.177 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site