>>> On 17.09.15 at 17:19, wrote:
> On 14/09/15 03:32, Wei Wang wrote:
>> --- a/xen/include/xen/kernel.h
>> +++ b/xen/include/xen/kernel.h
>> @@ -43,6 +43,29 @@
>> #define MAX(x,y) ((x) > (y) ? (x) : (y))
>>
>> /**
>> + * clamp - return a value clamped to a given range with strict typechecking
On 14/09/15 03:32, Wei Wang wrote:
> The added calculation related functions will be used in the intel_pstate.c.
> They are copied from the Linux kernel(commit 2418f4f2, f3002134, eb18cba7).
>
> Signed-off-by: Wei Wang
> ---
> xen/arch/x86/oprofile/op_model_athlon.c | 9
> xen/include/asm-x
The added calculation related functions will be used in the intel_pstate.c.
They are copied from the Linux kernel(commit 2418f4f2, f3002134, eb18cba7).
Signed-off-by: Wei Wang
---
xen/arch/x86/oprofile/op_model_athlon.c | 9
xen/include/asm-x86/div64.h | 79