diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-04 23:00:26 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-04 23:00:26 +0200 |
commit | ca78f6baca863afe2e6a244a0fe94b3a70211d46 (patch) | |
tree | f5a3a169b6cfafa36f9c35cc86e782596c820915 /include/asm-generic | |
parent | Fix up headers_install wrt devfs removal (diff) | |
parent | Move workqueue exports to where the functions are defined. (diff) | |
download | linux-ca78f6baca863afe2e6a244a0fe94b3a70211d46.tar.xz linux-ca78f6baca863afe2e6a244a0fe94b3a70211d46.zip |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq
* master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq:
Move workqueue exports to where the functions are defined.
[CPUFREQ] Misc cleanups in ondemand.
[CPUFREQ] Make ondemand sampling per CPU and remove the mutex usage in sampling path.
[CPUFREQ] Add queue_delayed_work_on() interface for workqueues.
[CPUFREQ] Remove slowdown from ondemand sampling path.
Diffstat (limited to 'include/asm-generic')
-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 6f178563e336..09204e40d663 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) |