diff options
author | Michal Hocko <mhocko@suse.cz> | 2011-08-24 03:36:46 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-09-08 05:10:55 -0400 |
commit | ef0e0f5ed9bde6d1e3376169785a463ad2160e6d (patch) | |
tree | 08a2eeb7a8f0da9654a7c5cc97a5ca5904176777 /include/asm-generic | |
parent | 8bc0dafb5cf38a19484dfb16e2c6d29e85820046 (diff) |
cputime: Clean up cputime_to_usecs and usecs_to_cputime macros
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>
Diffstat (limited to 'include/asm-generic')
-rw-r--r-- | include/asm-generic/cputime.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-generic/cputime.h b/include/asm-generic/cputime.h index 61e03dd7939e..62ce6823c0f2 100644 --- a/include/asm-generic/cputime.h +++ b/include/asm-generic/cputime.h | |||
@@ -38,8 +38,8 @@ typedef u64 cputime64_t; | |||
38 | /* | 38 | /* |
39 | * Convert cputime to microseconds and back. | 39 | * Convert cputime to microseconds and back. |
40 | */ | 40 | */ |
41 | #define cputime_to_usecs(__ct) jiffies_to_usecs(__ct); | 41 | #define cputime_to_usecs(__ct) jiffies_to_usecs(__ct) |
42 | #define usecs_to_cputime(__msecs) usecs_to_jiffies(__msecs); | 42 | #define usecs_to_cputime(__msecs) usecs_to_jiffies(__msecs) |
43 | 43 | ||
44 | /* | 44 | /* |
45 | * Convert cputime to seconds and back. | 45 | * Convert cputime to seconds and back. |