kernel: Constify temporary variable in roundup()
authorTetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Mon, 8 Nov 2010 02:20:49 +0000 (11:20 +0900)
committerJames Morris <jmorris@namei.org>
Tue, 9 Nov 2010 00:59:54 +0000 (11:59 +1100)
commit6070bf3596f3b5a54091a08d5b2bc90c143dc264
tree19a8cc8c96b0387e18f4fb58dbfca40d0ea6922b
parenta7bcf21e60c73cb7f7c13fad928967d7e47c3cac
kernel: Constify temporary variable in roundup()

Fix build error with GCC 3.x caused by commit b28efd54
"kernel: roundup should only reference arguments once" by constifying
temporary variable used in that macro.

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Suggested-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
include/linux/kernel.h