diff options
author | Nicholas Mc Guire <hofrat@osadl.org> | 2015-05-03 10:51:56 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-05-08 12:10:07 +0200 |
commit | ce2f5fe46303d1e1a2ba453753a7e8200d32182c (patch) | |
tree | f9ab1f32603ece0b4c6c1561e4de4fc2e5ec146f /kernel/fork.c | |
parent | e7cc4173115347bcdaa5de2824dd46ef2c58425f (diff) | |
download | linux-stable-ce2f5fe46303d1e1a2ba453753a7e8200d32182c.tar.gz linux-stable-ce2f5fe46303d1e1a2ba453753a7e8200d32182c.tar.bz2 linux-stable-ce2f5fe46303d1e1a2ba453753a7e8200d32182c.zip |
sched/core: Remove unnecessary down/up conversion
'rt_period_us' is automatically type converted from u64 to long and then cast
back to u64 - this down/up conversion is unnecessary and can be removed to
improve readability.
This will also help us not truncate 'rt_period_us' to 32 bits on 32-bit kernels,
should we ever have so large values. (unlikely, not the least due to procfs.)
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1430643116-24049-1-git-send-email-hofrat@osadl.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions