From: Benjamin LaHaise Date: Wed, 22 Jun 2005 00:14:55 +0000 (-0700) Subject: [PATCH] __read_page_state(): pass unsigned long instead of unsigned X-Git-Tag: v2.6.13-rc1~68^2~582^2~146 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2f29ea111e3344ed48257c2a142c3db514e1529;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed