From: Akinobu Mita Date: Tue, 1 Nov 2011 00:08:07 +0000 (-0700) Subject: lib/string.c: introduce memchr_inv() X-Git-Tag: v3.2-rc1~108^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=798248206b59acc6e1238c778281419c041891a7;p=pandora-kernel.git lib/string.c: introduce memchr_inv() memchr_inv() is mainly used to check whether the whole buffer is filled with just a specified byte. The function name and prototype are stolen from logfs and the implementation is from SLUB. Signed-off-by: Akinobu Mita Acked-by: Christoph Lameter Acked-by: Pekka Enberg Cc: Matt Mackall Acked-by: Joern Engel Cc: Marcin Slusarz Cc: Eric Dumazet Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed