projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bc0daf
)
cputime: Clean up cputime_to_usecs and usecs_to_cputime macros
author
Michal Hocko
<mhocko@suse.cz>
Wed, 24 Aug 2011 07:36:46 +0000
(09:36 +0200)
committer
Thomas Gleixner
<tglx@linutronix.de>
Thu, 8 Sep 2011 09:10:55 +0000
(11:10 +0200)
Get rid of semicolon so that those expressions can be used also
somewhere else than just in an assignment.
Signed-off-by: Michal Hocko <mhocko@suse.cz>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Cc: Dave Jones <davej@redhat.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Link:
http://lkml.kernel.org/r/7565417ce30d7e6b1ddc169843af0777dbf66e75.1314172057.git.mhocko@suse.cz
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-generic/cputime.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-generic/cputime.h
b/include/asm-generic/cputime.h
index 61e03dd7939e68482189dfa063e66259abb965a3..62ce6823c0f2ac82ccdf285cf99dc8d36a9bb80b 100644
(file)
--- a/
include/asm-generic/cputime.h
+++ b/
include/asm-generic/cputime.h
@@
-38,8
+38,8
@@
typedef u64 cputime64_t;
/*
* Convert cputime to microseconds and back.
*/
-#define cputime_to_usecs(__ct) jiffies_to_usecs(__ct)
;
-#define usecs_to_cputime(__msecs) usecs_to_jiffies(__msecs)
;
+#define cputime_to_usecs(__ct) jiffies_to_usecs(__ct)
+#define usecs_to_cputime(__msecs) usecs_to_jiffies(__msecs)
/*
* Convert cputime to seconds and back.