Re: [PATCH 03/56] microblaze_v2: Cpuinfo handling

From: Michal Simek
Date: Mon May 05 2008 - 10:18:41 EST



>> --- /dev/null
>> +++ b/arch/microblaze/kernel/cpu/cpuinfo-static.c
>> @@ -0,0 +1,117 @@
>
>> +
>> + ci->cpu_clock_freq = fcpu(cpu, "timebase-frequency");
>
> Should this be added to cpuinfo-pvr.c?

I moved it. This was in cpuinfo.c because you can't load frequency from PVR regs.
this value was loaded from DTS and I don't want to setup second parameter to pvr
function.

>> --- /dev/null
>> +++ b/include/asm-microblaze/cpuinfo.h
> ...
>
>> + /* HW debug support */
>> + int hw_debug;
>> + int num_pc_brk;
>> + int num_rd_brk;
>> + int num_wr_brk;
>
> + /* CPU and system timebase info */
>> + int cpu_clock_freq;
>> +
>
>> +void set_cpuinfo_pvr_partial(struct cpuinfo *ci);
>
> pvr_partial never got written - it can be deleted.

I removed it and changed values
M
--
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/