]> git.baikalelectronics.ru Git - kernel.git/commit
kernel: roundup should only reference arguments once
authorEric Paris <eparis@redhat.com>
Wed, 13 Oct 2010 21:50:08 +0000 (17:50 -0400)
committerJames Morris <jmorris@namei.org>
Wed, 20 Oct 2010 23:12:54 +0000 (10:12 +1100)
commit028243f15d7cdbad757905874109e8802492fa25
tree4b8be3bc7392caa68fa79456e4ec8b8a8fb6eeec
parent2c30601a55fcc35cdbea30b11d0c83480a3feb1e
kernel: roundup should only reference arguments once

Currently the roundup macro references it's arguments more than one time.
This patch changes it so it will only use its arguments once.

Suggested-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
include/linux/kernel.h