[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH V2 23/33] xen/arm: Allow Xen to run on multiple platform without recompilation



On 05/08/2013 04:32 PM, Ian Campbell wrote:

> On Wed, 2013-05-08 at 03:33 +0100, Julien Grall wrote:
>> diff --git a/xen/arch/arm/time.c b/xen/arch/arm/time.c
>> index bfc41c2..1114fe7 100644
>> --- a/xen/arch/arm/time.c
>> +++ b/xen/arch/arm/time.c
>> @@ -33,6 +33,7 @@
>>  #include <asm/time.h>
>>  #include <asm/gic.h>
>>  #include <asm/cpufeature.h>
>> +#include <asm/platform.h>
>>  
>>  /*
>>   * Unfortunately the hypervisor timer interrupt appears to be buggy in
>> @@ -130,6 +131,11 @@ int __init init_xen_time(void)
>>          panic("CPU does not support the Generic Timer v1 interface.\n");
>>  
>>      cpu_khz = READ_SYSREG32(CNTFRQ_EL0) / 1000;
> 
> Might be better to read this after platform_init_time, in case p_i_t
> does something "magic" on this platform?


Ok. I will move the platform_init_time just before.

-- 
Julien


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.