From: David Woodhouse Date: Sun, 10 Aug 2008 11:33:00 +0000 (+0100) Subject: blktrace: simplify flags handling in __blk_add_trace X-Git-Tag: v2.6.28-rc1~733^2~120 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35ba8f7083e87602b695d6eaca38a6464d5b74db;p=pandora-kernel.git blktrace: simplify flags handling in __blk_add_trace Let the compiler see what's going on, and it can all get a lot simpler. On PPC64 this reduces the size of the code calculating these bits by about 60%. On x86_64 it's less of a win -- only 40%. Signed-off-by: David Woodhouse Signed-off-by: Jens Axboe --- Reading git-diff-tree failed