>>> On 27.07.15 at 07:48, wrote:
>> > +/*
>> > + * clamp_t - return a value clamped to a given range using a given
>> > +type
>> > + * @type: the type of variable to use
>> > + * @val: current value
>> > + * @lo: minimum allowable value
>> > + * @hi: maximum allowable value
>> > + *
>> > + * This
> > +/*
> > + * clamp_t - return a value clamped to a given range using a given
> > +type
> > + * @type: the type of variable to use
> > + * @val: current value
> > + * @lo: minimum allowable value
> > + * @hi: maximum allowable value
> > + *
> > + * This macro does no typechecking and uses tempora
>>> On 25.06.15 at 13:14, 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).
>
> v4 changes:
> 1) in commit message, "kernel" changed to "Linux kernel"
> 2) if-else coding style change.
>>> On 25.06.15 at 13:14, 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).
>
> v4 changes:
> 1) in commit message, "kernel" changed to "Linux kernel"
> 2) if-else coding style change.
The added calculation related functions will be used in the intel_pstate.c.
They are copied from the Linux kernel(commit 2418f4f2, f3002134, eb18cba7).
v4 changes:
1) in commit message, "kernel" changed to "Linux kernel"
2) if-else coding style change.
Signed-off-by: Wei Wang
---
xen/include/as