aboutsummaryrefslogtreecommitdiffstats
path: root/lib/genalloc.c
diff options
context:
space:
mode:
authorBenjamin LaHaise <[email protected]>2005-06-22 00:14:55 +0000
committerLinus Torvalds <[email protected]>2005-06-22 01:46:17 +0000
commitc2f29ea111e3344ed48257c2a142c3db514e1529 (patch)
tree6750edefb1f08a6be545250fdaca72fa211ef338 /lib/genalloc.c
parent[PATCH] __mod_page_state(): pass unsigned long instead of unsigned (diff)
downloadkernel-c2f29ea111e3344ed48257c2a142c3db514e1529.tar.gz
kernel-c2f29ea111e3344ed48257c2a142c3db514e1529.zip
[PATCH] __read_page_state(): pass unsigned long instead of unsigned
By making the offset argument of __read_page_state an unsigned long instead of unsigned, we can avoid forcing the compiler to sign extend a usually constant argument. This saves 1 instruction on x86-64. Signed-off-by: Benjamin LaHaise <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions