diff options
author | Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> | 2006-06-28 13:49:52 -0700 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2006-06-30 01:29:47 -0400 |
commit | ccb2fe209dac9ff67f6351e783e610073afaaeaf (patch) | |
tree | ba6793c2045604d6db11b781d87a404cb30a54b8 /include/asm-generic/cputime.h | |
parent | 501b7c77de3e90519e95fd99e923bf9a29cd120d (diff) | |
download | kernel_samsung_smdk4412-ccb2fe209dac9ff67f6351e783e610073afaaeaf.tar.gz kernel_samsung_smdk4412-ccb2fe209dac9ff67f6351e783e610073afaaeaf.tar.bz2 kernel_samsung_smdk4412-ccb2fe209dac9ff67f6351e783e610073afaaeaf.zip |
[CPUFREQ] Remove slowdown from ondemand sampling path.
Remove slowdown from ondemand sampling path. This reduces the code path length
in dbs_check_cpu() by half. slowdown was not used by ondemand by default.
If there are any user level tools that were using this tunable, they
may report error now.
Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'include/asm-generic/cputime.h')
-rw-r--r-- | include/asm-generic/cputime.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-generic/cputime.h b/include/asm-generic/cputime.h index 6f178563e33..09204e40d66 100644 --- a/include/asm-generic/cputime.h +++ b/include/asm-generic/cputime.h @@ -24,7 +24,9 @@ typedef u64 cputime64_t; #define cputime64_zero (0ULL) #define cputime64_add(__a, __b) ((__a) + (__b)) +#define cputime64_sub(__a, __b) ((__a) - (__b)) #define cputime64_to_jiffies64(__ct) (__ct) +#define jiffies64_to_cputime64(__jif) (__jif) #define cputime_to_cputime64(__ct) ((u64) __ct) |