diff options
author | Michal Hocko <mhocko@suse.cz> | 2011-08-24 09:36:46 +0200 |
---|---|---|
committer | Ziyan <jaraidaniel@gmail.com> | 2016-01-17 20:28:19 +0100 |
commit | ac99b89ff990e3a5ea04ae35258105b477f054c5 (patch) | |
tree | 7cdbadf15a6594f058c78029909fb67453e12c7f /include/asm-generic | |
parent | 9c1120f503150e4b755395ec7ffdbaf2b4dbd92b (diff) | |
download | kernel_samsung_tuna-ac99b89ff990e3a5ea04ae35258105b477f054c5.zip kernel_samsung_tuna-ac99b89ff990e3a5ea04ae35258105b477f054c5.tar.gz kernel_samsung_tuna-ac99b89ff990e3a5ea04ae35258105b477f054c5.tar.bz2 |
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 61e03dd..62ce682 100644 --- 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. |