]> bbs.cooldavid.org Git - net-next-2.6.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)
commitb28efd54d9d5c8005a29cd8782335beb9daaa32d
tree4b8be3bc7392caa68fa79456e4ec8b8a8fb6eeec
parent686a0f3d71203bbfcc186900bbb8ac2cfc3d803c
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